Rechercher une page de manuel
MojoMojo::Formatter::Textile.3pm
Langue: en
Version: 2010-04-07 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
MojoMojo::Formatter::Textile - Texile+SmartyPants formatting for your contentDESCRIPTION
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::TextileAUTHORS
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.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre