38300323a6 | ||
---|---|---|
tests | ||
.gitignore | ||
.travis.yml | ||
LICENSE.txt | ||
Parsedown.php | ||
README.md | ||
composer.json | ||
phpunit.xml.dist |
README.md
Parsedown
Parsedown is a Markdown parser for PHP. It is fast, consistent and easy to use.
Installation
Include Parsedown.php
or install the composer package.
Example
$text = 'Hello **Parsedown**!';
$result = Parsedown::instance()->parse($text);
echo $result; # prints: <p>Hello <strong>Parsedown</strong>!</p>