The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MojoMojo::Formatter::Markdown - MultiMarkdown formatting for your content. MultiMarkdown is an extension of Markdown, adding support for tables, footnotes, bibliography, automatic cross-references, glossaries, appendices, definition lists, math syntax, anchor and image attributes, and document metadata.

Markdown syntax: http://daringfireball.net/projects/markdown/syntax MultiMarkdown syntax: http://fletcherpenney.net/multimarkdown/users_guide/multimarkdown_syntax_guide/

DESCRIPTION

This formatter processes content using Text::MultiMarkdown This is a syntax for writing human-friendly formatted text.

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::MultiMarkdown

AUTHORS

Marcus Ramberg <mramberg@cpan.org>

License

This module is licensed under the same terms as Perl itself.