Template::Plugin::Textile - textile plugin for the Template Toolkit
[% USE Textile -%] [% FILTER textile %]this is _like_ *so* *cool*[% END %] <p>this is <em>like</em> <strong>so</strong <strong>cool</strong></p>
This is a very thin wrapper around Text::Textile for the Template Toolkit. When you load the plugin, it creates a filter called textile that you can use in the normal way
textile
[% text = BLOCK -%] The "Template Toolkit":http://www.tt2.org was written by Andy Wardly. !http://www.perl.com/supersnail/os2002/images/small/os6_d5_5268_w2_sm.jpg! This image (c) Julian Cash 2002 [%- END %] [% text | textile %]
Or
[% FILTER textile %] Reasons to use the Template Toolkit: * Seperation of concerns. * It's written in Perl. * Badgers are Still Cool. [% END %]
None known (it's only ten lines of code.)
Bugs (and requests for new features) can be reported to the open source development team at Profero though the CPAN RT system: <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Template-Plugin-Textile>
The thin wrapper code (all ten lines of it) was written by Mark Fowler <mark@twoshortplanks.com>.
The Text::Textile module that does all the work was written by Tom Insam <tom@jerakeen.org>, and in his own words 'All the clever things in Text::Textile were written by Brad Choate <http://www.bradchoate.com>'
Copyright Profero 2003. All rights reserved. Copyright Mark Fowler 2012. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Text::Textile, Template, Template::Plugin, Template::Filters
To install Template::Plugin::Textile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::Textile
CPAN shell
perl -MCPAN -e shell install Template::Plugin::Textile
For more information on module installation, please visit the detailed CPAN module installation guide.