mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-03 18:42:00 +01:00
21 lines
493 B
PHP
21 lines
493 B
PHP
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>
|
||
|
CanvasBlocker FAQs
|
||
|
</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<header><h1>CanvasBlocker FAQs</h1></header>
|
||
|
<?php
|
||
|
include_once("../../kamiKatze/autoload.php");
|
||
|
$parser = new MarkdownParser();
|
||
|
foreach (new DirectoryIterator("./") as $file){
|
||
|
if (!$file->isDot() && !$file->isDir() && $file->getExtension() === "md"){
|
||
|
$markdown = $parser->parse(file_get_contents($file->getPathname()));
|
||
|
echo $markdown->view("html");
|
||
|
}
|
||
|
}
|
||
|
?>
|
||
|
</body>
|
||
|
</html>
|