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()
This man page describes version 0.04.
Template, Text::MultiMarkdown, http://fletcherpenney.net/multimarkdown/
Andrew Ford <A.Ford@ford-mason.co.uk> (based on the Template::Plugin::Markdown TT plugin by Naoya Ito <naoya@bloghackers.net>).
Copyright (C) 2009 Andrew Ford
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
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.