Skip to content
Emanuil Rusev edited this page Jan 1, 2014 · 20 revisions

Basic usage:

$markup = Parsedown::instance()->parse($markdown);

Old-school:

$Parsedown = new Parsedown();

$markup = $Parsedown->parse($markdown);

Options:

$markup = Parsedown::instance()
   ->set_breaks_enabled(true) # enables automatic line breaks.
   ->parse($markdown);
Clone this wiki locally