Files
webgui/plugins/dynamix/include/MarkdownExtra.inc.php

18 lines
614 B
PHP

<?php
// Use this file if you cannot use class autoloading. It will include all the
// files needed for the MarkdownExtra parser.
//
// Take a look at the PSR-0-compatible class autoloading implementation
// in the Readme.php file if you want a simple autoloader setup.
require_once dirname(__FILE__) . '/MarkdownInterface.php';
require_once dirname(__FILE__) . '/Markdown.php';
require_once dirname(__FILE__) . '/MarkdownExtra.php';
// Limetech - let's make this backward-compatible with how we use it.
use Michelf\MarkdownExtra;
function Markdown($text) {
return MarkdownExtra::defaultTransform($text);
}