Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mojomojo::formatter::textile(3pm) [debian man page]

MojoMojo::Formatter::Textile(3pm)			User Contributed Perl Documentation			 MojoMojo::Formatter::Textile(3pm)

NAME
MojoMojo::Formatter::Textile - Texile+SmartyPants formatting for your content DESCRIPTION
This formatter processes content using Text::Textile (a syntax for writing human-friendly formatted text), then post-processes that using Text::SmartyPants (which transforms plain ASCII punctuation characters into "smart" typographic punctuation HTML entities, such as smart quotes or the ellipsis character). Textile reference: <http://hobix.com/textile/> METHODS
main_format_content Calls the formatter. Takes a ref to the content as well as the context object. Note that this is different from the format_content method of non-main formatters. This is because we don't want all main formatters to be called when iterating over pluggable modules in MojoMojo::Schema::ResultSet::Content::format_content. "main_format_content" will only be called by <MojoMojo::Formatter::Main>. SEE ALSO
MojoMojo, Module::Pluggable::Ordered, Text::Textile AUTHORS
Marcus Ramberg <mramberg@cpan.org> LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-04-07 MojoMojo::Formatter::Textile(3pm)

Check Out this Related Man Page

MojoMojo::Formatter::CPANHyperlink(3pm) 		User Contributed Perl Documentation		   MojoMojo::Formatter::CPANHyperlink(3pm)

NAME
MojoMojo::Formatter::CPANHyperlink - automatically hyperlink CPAN modules when using the syntax {{cpan Some::Module}} DESCRIPTION
Normally, to hyperlink to a CPAN module, you'd write: [MojoMojo::Formatter::CPANHyperlink](http://search.cpan.org/perldoc?MojoMojo::Formatter::CPANHyperlink) This plugin lets you write just {{cpan MojoMojo::Formatter::CPANHyperlink}} Just like POD, it supports adding a section after the module name: {{cpan Catalyst::Manual::Cookbook/Deployment}} will create a link to http://search.cpan.org/perldoc?Catalyst::Manual::Cookbook#Deployment Sections can contain any characters, except two consecutive closed braces: {{cpan Catalyst::Test/($res, $c) = ctx request( ... ); }} will link to http://search.cpan.org/perldoc?Catalyst::Test#($res,_$c)_=_ctx_request(_..._); In anticipation of future plugin syntax, you can optionally add a trailing slash {{cpan Some::Module/Section /}} METHODS
format_content_order The CPANHyperlink formatter has no special requirements in terms of the order it gets run in, so it has a priority of 10. format_content Calls the formatter. Takes a ref to the content as well as the context object. SEE ALSO
MojoMojo and Module::Pluggable::Ordered. AUTHORS
Dan Dascalescu, <http://dandascalescu.com> LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2010-04-07 MojoMojo::Formatter::CPANHyperlink(3pm)
Man Page

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sort content of text file based on date?

I now have a 230,000+ lines long text file formatted in segments like this: Is there a way to sort this file to have everything in chronological order, based on the date and time in the text? In this example, I would like the result to be: (19 Replies)
Discussion started by: KidCactus
19 Replies

2. UNIX for Dummies Questions & Answers

How To Use sed To Remove Text Between '/*'?

First of all let it be said that I hate sed. Every time I think I've got it figured out it proves me wrong. There, now with that out of the way here's my problem that I'm hoping one of you smart people can solve: I have a file full of lines like this: If x=1 then /* this is an if statement */... (10 Replies)
Discussion started by: Korn0474
10 Replies