Andrew Ford (PAUSE Custodial Account) > Template-Plugin-MultiMarkdown > Template::Plugin::MultiMarkdown

Download:
Template-Plugin-MultiMarkdown-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.06   Source   Latest Release: Template-Plugin-MultiMarkdown-0.08

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

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.

syntax highlighting: