1
0
Fork 0

Cleaned up the Markdown files.

This commit is contained in:
Michael Vogel 2015-02-23 12:47:57 +01:00
commit 884b8b03db
7 changed files with 0 additions and 1647 deletions

View file

@ -1,17 +0,0 @@
<?php
//# Install PSR-0-compatible class autoloader
//spl_autoload_register(function($class){
// require preg_replace('{\\\\|_(?!.*\\\\)}', DIRECTORY_SEPARATOR, ltrim($class, '\\')).'.php';
//});
require_once("library/php-markdown/Michelf/MarkdownExtra.inc.php");
# Get Markdown class
use \Michelf\MarkdownExtra;
function Markdown($text) {
# Read file and pass content through the Markdown parser
$html = MarkdownExtra::defaultTransform($text);
return $html;
}
?>