We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Basic usage:
$text = 'Hello **Parsedown**!'; $result = Parsedown::instance()->parse($text); echo $result; # prints: <p>Hello <strong>Parsedown</strong>!</p>
Old-school:
$Parsedown = new Parsedown(); $result = $Parsedown->parse($text);
Options:
$result = Parsedown::instance() ->set_breaks_enabled(true) # enables automatic line breaks. ->parse($text);