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

20 lines
446 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');
2018-01-01 23:03:05 +01:00
require_once (__DIR__ . '/../internals/ParsedownCustom.php');
2017-12-30 23:46:27 +01:00
?>
2018-01-21 15:29:01 +01:00
<div class="boxedcontent blogcontent_markdown base_markdown">
2017-12-30 23:46:27 +01:00
<div class="bc_header">
<?php echo $post['date']; ?>
</div>
<div class="bc_data">
<?php
2018-01-01 23:03:05 +01:00
$pd = new ParsedownCustom();
2017-12-30 23:46:27 +01:00
echo $pd->text(Blog::getPostFragment($post));
?>
</div>
</div>