MojoMojo::Formatter::Main - MojoMojo's main formatter, dispatching between Textile and MultiMarkdown
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.
Format order can be 1-99. The main formatter runs on 15.
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').
$c->pref('main_formatter')
MojoMojo, Module::Pluggable::Ordered, Text::Textile
Marcus Ramberg <mramberg@cpan.org>
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
To install MojoMojo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MojoMojo
CPAN shell
perl -MCPAN -e shell install MojoMojo
For more information on module installation, please visit the detailed CPAN module installation guide.