You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
239 B
PHP

<?php
function customPageMD($page) {
require_once "./Parsedown.php";
$Parsedown = new Parsedown();
$text = file_get_contents($page);
echo '<div class="article article-headerless">';
echo $Parsedown->text($text);
echo '</div>';
}
?>