Text::Markdown::Hoedown::Markdown - markdown
Note. Any API will change without notice.
my $md = Text::Markdown::Hoedown::Markdown->new($extensions:UV, $max_nesting:UV, $callbacks:Text::Markdown::Hoedown::Renderer::*);
Create new instance.
$extensions is the bit flags, listed on Text::Markdown::Hoedown.
$max_nesting is the max nesting level.
$callbacks is the callback object. It's instance of Text::Markdown::Hoedown::Renderer::*.
my $src = $md->render($src:Str);
Render the markdown.
Text::Markdown::Hoedown
To install Text::Markdown::Hoedown, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Markdown::Hoedown
CPAN shell
perl -MCPAN -e shell install Text::Markdown::Hoedown
For more information on module installation, please visit the detailed CPAN module installation guide.