The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Template::Plugin::MultiMarkdown - TT plugin for Text::MultiMarkdown

SYNOPSIS

  [% USE MultiMarkdown -%]
  [% FILTER multimarkdown %]
  #Foo
  Bar
  ---
  *Italic* blah blah
  **Bold** foo bar baz
  [%- END %]

  [% USE MultiMarkdown -%]
  [% FILTER multimarkdown( document_format => 'complete' ) %]
  ...
  [% END %]

DESCRIPTION

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 multimarkdown filter.

NOTE: Text::MultiMarkdown::XS is a new module and the interface to that module is still liable to change.

SUBROUTINES/METHODS

There are two methods required by the TT plugin API:

init()
filter()

VERSION

This man page describes version 0.04.

SEE ALSO

Template, Text::MultiMarkdown, http://fletcherpenney.net/multimarkdown/

AUTHOR

Andrew Ford <A.Ford@ford-mason.co.uk> (based on the Template::Plugin::Markdown TT plugin by Naoya Ito <naoya@bloghackers.net>).

LICENSE AND COPYRIGHT

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.