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.

12 lines
317 B
PHP

<?php
function customPageMD($page, $sourceLink, $sourceName) {
require_once 'vendor/autoload.php';
include_once "includes/mdutils.php";
// ../includes/mdutils.php
echo '<div class="article article-headerless">';
echo "<a href=\"$sourceLink\"><h1>$sourceName</h1></a>";
loadmdfile($page);
echo '</div>';
}
?>