Parsedown Include
postsYou might find this useful. It's a way to include a markdown file as if you were doing a PHP include() command, into your page. This would make for easier modification of your webpage by separating the text from the layout. This requires that you already have Parsedown.php from parsedown.org.
function parsedownInclude($f){ require_once 'Parsedown.php'; $Parsedown = new Parsedown(); echo is_readable($f) ? $Parsedown->text(file_get_contents($f)) : "File Not Found".htmlspecialchars($f); }
Let me know if it has been of assistance to you!