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(implementation => 'XS') -%]
  [% 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 USE or FILTER statements.

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()

SEE ALSO

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

DEDICATION

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:

Dignity in Dying - http://www.dignityindying.org.uk/
Marie Curie Cancer Care - http://www.mariecurie.org.uk/

AUTHOR

  Original Author:    Andrew Ford               2006-2014
  Current Maintainer: Barbie <barbie@cpan.org>  2014-2015

ACKNOWLEDGEMENTS

Andrew Ford based this module on the Template::Plugin::Markdown TT plugin by Naoya Ito <naoya@bloghackers.net>.

COPYRIGHT & LICENSE

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.