GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOJOMOJO::FORMATTER::MAIN (3)

.ds Aq ’

NAME

MojoMojo::Formatter::Main - MojoMojo’s main formatter, dispatching between Textile and MultiMarkdown

CONTENTS

DESCRIPTION

This is the main MojoMojo formatter, which transforms lightweight plain text markup into XHTML. It reads the site preference main_formatter and calls the corresponding formatter, either Text::Textile, or Text::MultiMarkdown.

METHODS

    format_content_order

Format order can be 1-99. The main formatter runs on 15.

    format_content

Calls the formatter. Takes a ref to the content as well as the context object. The latter is needed in order to determine the main formatter via a call to $c->pref(main_formatter).

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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOJOMOJO::FORMATTER::MAIN (3) 2010-04-07

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.