1
0
www.mikescher.com/www/fragments/blogview_markdown.php

20 lines
446 B
PHP

<?php
require_once (__DIR__ . '/../internals/base.php');
require_once (__DIR__ . '/../internals/blog.php');
require_once (__DIR__ . '/../internals/ParsedownCustom.php');
?>
<div class="boxedcontent blogcontent_markdown base_markdown">
<div class="bc_header">
<?php echo $post['date']; ?>
</div>
<div class="bc_data">
<?php
$pd = new ParsedownCustom();
echo $pd->text(Blog::getPostFragment($post));
?>
</div>
</div>