Cleaned up the Markdown files.
This commit is contained in:
parent
72cfb86773
commit
884b8b03db
7 changed files with 0 additions and 1647 deletions
|
|
@ -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;
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue