debian man page for template::plugin::textile2

Query: template::plugin::textile2

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Template::Plugin::Textile2(3pm) 			User Contributed Perl Documentation			   Template::Plugin::Textile2(3pm)

NAME
Template::Plugin::Textile2 - Use Textile formatting with Template Toolkit
SYNOPSIS
[% USE Textile2 -%] [% FILTER textile2 %]This *bold* and this is _italic_.[% END %] <p>this is <strong>bold</strong> and this is <em>italic</em>. [% USE Textile2 ( disable_html => 1 ) -%] [% FILTER textile2 %]this is<br /> _italic_.[% END %] <p>this is&lt;br /&gt; <em>italic</em>.</p>
DESCRIPTION
This module wraps Text::Textile into a plugin Template Toolkit. It provides a filter named "textile2". This aims to be a more feature- full version Template::Plugin::Textile, by allowing you to pass parameters to Text::Textile. Use this way: [% FILTER textile2 %] Reasons to use the Template Toolkit: * Seperation of concerns. * It's written in Perl. * Badgers are Still Cool. [% END %] or: [% mytext | textile2 %] You can pass the same options you would pass to Text::Textile, directly when using the template. For instance to disable processing of HTML tags you can do: [% USE Textile2 ( disable_html => 1 ) %] To avoid your text to be wrapped into "&lt;p&gt...&lt;/p&gt" you can use: [% USE Textile2 ( format_mode => 'inline' ) %] See Text::Textile for details.
AUTHOR
Michele Beltrame "mb@italpro.net".
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Text::Textile, Template perl v5.8.8 2007-09-13 Template::Plugin::Textile2(3pm)
Related Man Pages
template::plugin::procedural(3) - suse
template::plugin::procedural(3) - centos
template::plugin::wrap(3) - centos
mojomojo::formatter::textile(3pm) - debian
template::xml(3pm) - debian
Similar Topics in the Unix Linux Community
Bold Text?
WiGit 0.1 (Default branch)
Perl: Reading data from other file
Making Text Bold
Insert values into template