Files
webgui/emhttp/plugins/dynamix/include/MarkdownExtra.inc.php
Tom Mortensen f9ec00b488 repo reorg
2023-06-02 12:49:33 -07:00

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);
}