Fix customPageMD

main
Astoria 2 years ago
parent 428decca98
commit a5adde6da7

@ -1,7 +1,7 @@
<?php
function customPageMD($page) {
require_once "./Parsedown.php";
$Parsedown = new Parsedown();
require 'vendor/autoload.php';
$Parsedown = new \Noi\ParsedownRubyText();
$text = file_get_contents($page);
echo '<div class="article article-headerless">';
echo $Parsedown->text($text);

Loading…
Cancel
Save