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
251 B
PHTML

<?php
function customPageMD($page) {
2 years ago
require 'vendor/autoload.php';
$Parsedown = new \Noi\ParsedownRubyText();
$text = file_get_contents($page);
echo '<div class="article article-headerless">';
echo $Parsedown->text($text);
echo '</div>';
}
?>