Parsedown is a Markdown parser for PHP. It is fast, consistent and easy to use.
Home · Demo · Tests
Include Parsedown.php or install the composer package.
Parsedown.php
$text = 'Hello **Parsedown**!'; $result = Parsedown::instance()->parse($text); echo $result; # prints: <p>Hello <strong>Parsedown</strong>!</p>