NAME

MojoMojo::Formatter::Wiki - Handle interpage linking.

DESCRIPTION

This formatter handles Wiki links using the [[explicit]] and ImplicitLink syntax. It will also indicate missing links with a question mark and a link to the edit page. In explicit mode, you can prefix the wikiword with an namespace, just like in a normal url. For example: [[../marcus]] or [[/oslo/vacation]].

METHODS

format_content_order

Format order can be 1-99. The Wiki formatter runs on 30

format_content

calls the formatter. Takes a ref to the content as well as the context object.

Format a wikiword as a link

expand_wikiword <word>

Expand mixed case and _ with spaces.

Find wiki links in content.

Return a listref of linked and wanted pages.

SEE ALSO

MojoMojo,Module::Pluggable::Ordered

AUTHORS

Marcus Ramberg <mramberg@cpan.org>

LICENSE

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