Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

template::plugin::textile2(3pm) [debian man page]

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)

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)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Bold Text?

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)
Discussion started by: Atama
4 Replies

2. Shell Programming and Scripting

Perl: Reading data from other file

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)
Discussion started by: n.dba
3 Replies

3. Shell Programming and Scripting

Making Text Bold

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)
Discussion started by: praveen.munna
3 Replies

4. Shell Programming and Scripting

Insert values into template

I have 2 files. Template file: SELECT NAME = "" DEATILS Input file: SERVER1 06/05/2016 10:00:00 06/05/2016 05:08:59 SERVER2 06/04/2016 09:50:00 06/05/2016 01:03:59 SERVER3 06/06/2016 11:26:00 06/06/2016 10:31:55 I want to generate the output file that look like this: ... (6 Replies)
Discussion started by: vinus
6 Replies