2 //# Install PSR-0-compatible class autoloader
3 //spl_autoload_register(function($class){
4 // require preg_replace('{\\\\|_(?!.*\\\\)}', DIRECTORY_SEPARATOR, ltrim($class, '\\')).'.php';
7 require_once("library/php-markdown/Michelf/MarkdownExtra.inc.php");
9 use \Michelf\MarkdownExtra;
11 function Markdown($text) {
12 # Read file and pass content through the Markdown parser
13 $html = MarkdownExtra::defaultTransform($text);