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

20 lines
407 B
PHP
Raw Normal View History

2017-12-30 23:46:27 +01:00
<?php
require_once (__DIR__ . '/../internals/base.php');
require_once (__DIR__ . '/../internals/blog.php');
require_once (__DIR__ . '/../extern/Parsedown.php');
?>
<div class="blogcontent bc_markdown">
<div class="bc_header">
<?php echo $post['date']; ?>
</div>
<div class="bc_data">
<?php
$pd = new Parsedown();
echo $pd->text(Blog::getPostFragment($post));
?>
</div>
</div>