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::Include(3pm)			User Contributed Perl Documentation			 MojoMojo::Formatter::Include(3pm)

   module_loaded
       Return true if the module is loaded.

NAME
MojoMojo::Formatter::Include - Include files in your content. DESCRIPTION
Include files verbatim in your content, by writing {{include <url>}}. Can be used for transclusion from the same wiki, in which case the inline version of the page is pulled. METHODS
format_content_order Format order can be 1-99. The Include formatter runs on 5, before all formatters (except Redirect), so that included content (most often from the same wiki) can be parsed for markup. To avoid markup interpretation, surround the {{include <url>}} with a "<div>": <div>Some uninterpreted Markdown: {{include http://mysite.com/rawmarkdown.txt}}</div> format_content Calls the formatter. Takes a ref to the content as well as the context object. include <c> <url> Returns the content at the URL. Will store a cached version in "$c->cache". SEE ALSO
MojoMojo, Module::Pluggable::Ordered, URI::Fetch 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 2012-08-07 MojoMojo::Formatter::Include(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