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<br /> <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 "<p>...</p>" 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)
Check Out this Related Man Page
Template::DBI(3pm) User Contributed Perl Documentation Template::DBI(3pm)NAME
Template::DBI - DBI plugin for the Template Toolkit
SYNOPSIS
$ perldoc Template::Plugin::DBI
DESCRIPTION
The Template-DBI distribution contains the DBI plugin for the Template Toolkit. At some point in the future it is likely to contain other
DBI-related plugins and extension modules for the Template Toolkit.
The DBI plugin was distributed as part of the Template Toolkit until version 2.15 released in May 2006. At this time it was extracted into
this separate Template-DBI distribution.
See the documentation for Template::Plugin::DBI for further details on using the DBI plugin.
AUTHORS
The DBI plugin was originally written by Simon A Matthews, and distributed as a separate module. It was integrated into the Template
Toolkit distribution for version 2.00 and included contributions from Andy Wardley, Craig Barratt, Dave Hodgkinson and Rafael Kitover.
Andy Wardley extracted it back into a separate distribution in May 2006. After that, in 2010 Jens Rehsack maintains this distribution.
COPYRIGHT
Copyright (C) 1999-2006 Simon Matthews, Andy Wardley. All Rights Reserved
Copyright (C) 2010 Jens Rehsack. All Rights Reserved
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
Template, Template::Plugins, Template::Plugin::DBI, DBI, Tie::DBI
perl v5.10.1 2011-02-05 Template::DBI(3pm)
Hello,
On the linux box I use at work, the directories are bold type to distinguish them.
Is there a way to make certain words in a text file bold?
Thanks! (4 Replies)
Hi, I am writting some perl scripts for daily backup process. In which I want to pass some data/referance from another txt file. Text file contains only one column and multiple rows. I want to pass this data to variables of another perl script.
e.g.
Refdoc.txt file contains data as:
perl1... (3 Replies)
Hi Guys,
This is my first query here. I hope you could help.
I have a file as below
a 1 2 3 4
b 4 5 6
...
I need to print the first column of this in bold.
a 1 2 3 4
b 4 5 6
Is it possible, if so, could you please let me know how to do that?
I require this because I... (3 Replies)