MojoMojo::Formatter::Main(3pm)

MojoMojo::Formatter::Main3pm

Mojomojo's main formatter, dispatching between textile and multimarkdown

Overview

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')".

Releases

5 releases since Debian 6.0 (Squeeze); the text changed 4 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10

Authors

Marcus Ramberg <[email protected]>

License

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.

From libmojomojo-perl 1.12+dfsg-1 in Debian 10 (Buster). Parsed by carta from the page's man source.