Template::Plugin::MultiMarkdown - TT plugin for Text::MultiMarkdown
[% USE MultiMarkdown -%] [% FILTER multimarkdown %] #Foo Bar --- *Italic* blah blah **Bold** foo bar baz [%- END %] [% USE MultiMarkdown(implementation => 'XS') -%] [% FILTER multimarkdown( document_format => 'complete' ) %] ... [% END %]
Template::Plugin::MultiMarkdown wraps Text::MultiMarkdown::XS and Text::MultiMarkdown into a Template Toolkit plugin, and will filter your MultiMarkdown text into HTML. By default the plugin will select the XS implementation over the pure perl version, but the implementation can be chosen explictly by specifying a parameter implementation to the USE or FILTER statements.
Template::Plugin::MultiMarkdown
Text::MultiMarkdown::XS
Text::MultiMarkdown
implementation
NOTE: Text::MultiMarkdown::XS is a new module and the interface to that module is still liable to change.
There are two methods required by the TT plugin API:
init()
filter()
Template, Text::MultiMarkdown, http://fletcherpenney.net/multimarkdown/
This distribution was originally created by Andrew Ford. Sadly in early 2014, Andrew was diagnosed with Pancreatic Cancer and passed away peacfully at home on 25th April 2014.
One of his wishes was for his OpenSource work to continue. At his funeral, many of his colleagues and friends, spoke of how he felt like a person of the world, and how he embrace the idea of OpenSource being for the benefit of the world.
Anyone wishing to donate in memory of Andrew, please consider the following charities:
Original Author: Andrew Ford 2006-2014 Current Maintainer: Barbie <barbie@cpan.org> 2014-2015
Andrew Ford based this module on the Template::Plugin::Markdown TT plugin by Naoya Ito <naoya@bloghackers.net>.
Copyright (C) 2008-2014 Andrew Ford Copyright (C) 2014-2015 Barbie for Miss Barbell Productions.
This distribution is free software; you can redistribute it and/or modify it under the Artistic Licence v2.
To install Template::Plugin::MultiMarkdown, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::MultiMarkdown
CPAN shell
perl -MCPAN -e shell install Template::Plugin::MultiMarkdown
For more information on module installation, please visit the detailed CPAN module installation guide.