Mateu X. Hunter > Mojito-0.21 > Mojito::Page::Render

Download:
Mojito-0.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.21   Source   Latest Release: Mojito-0.24

Name ^

Mojito::Page::Render - turn a parsed page into html

render_sections

Turn the sections into something viewable in a HTML browser. Be mindful of the section class which we'll use for formatting purposes.

render_page

Make a page for viewing in the browser.

render_body

Turn the raw into something distilled. TODO: Do we really need to return two things when only one is used?

render_content

Given some $content, a source and target format, convert the source to the target. Example: textile => HTML

format_for_web

Given some content and its format, let's convert it to HTML.

pod2html

Turn POD into HTML

intro_text

Extract the beginning text substring.

syntax highlighting: