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::MARKDOWN (3)

.ds Aq ’

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/>

CONTENTS

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>.

Note that Text::Markdown ensures that the output always ends with <B>oneB> newline. The fact that multiple newlines are collapsed into one makese sense, because this is the behavior of HTML towards whispace. The fact that there’s always a newline at the end makes sense again, given that the output will always be nested in a <B>blockB>-level element, be it a <p> (most often), <table>, or <div> (when passing HTML through).

SEE ALSO

MojoMojo, Module::Pluggable::Ordered, Text::MultiMarkdown

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::MARKDOWN (3) 2010-04-07

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