The scientific method cries tonight.
parent
e3fcf4d658
commit
3ba88df744
@ -1,10 +1,11 @@
|
||||
<?php
|
||||
function customPageMD($page) {
|
||||
require_once 'vendor/autoload.php';
|
||||
include_once "includes/mdutils.php";
|
||||
$Parsedown = new \Noi\ParsedownRubyText();
|
||||
$text = file_get_contents($page);
|
||||
$text = loadmdfile($page);
|
||||
echo '<div class="article article-headerless">';
|
||||
echo $Parsedown->text($text);
|
||||
echo $text;
|
||||
echo '</div>';
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue