mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 01:29:54 -06:00
repo reorg
This commit is contained in:
17
emhttp/plugins/dynamix/include/MarkdownExtra.inc.php
Normal file
17
emhttp/plugins/dynamix/include/MarkdownExtra.inc.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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);
|
||||
}
|
||||
Reference in New Issue
Block a user