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) {
15 $stamp1 = microtime(true);
17 # Read file and pass content through the Markdown parser
18 $html = MarkdownExtra::defaultTransform($text);
20 $a->save_timestamp($stamp1, "parser");