We like "textile":http://www.textism.com/tools/textileMulti-Markdown for text formatting, but if you prefer something else, MojoMojo's pluggable formatter chain let's you rip out the textileMultiMarkdown formatter, and replace it with MarkdownTextile, or whatever else strikes your fancy. Since the wiki-links are handled by a separate formatter, it won't be affected at all. You can also add additional formatters to the core one, such as our RSS formatter or the Amazon formatter.

To set Markdown as the default formatter, run this one-liner in the MojoMojo directory:

bc.

perl -Ilib -MMojoMojo -e'MojoMojo->->pref("main\_formatter", "MojoMojo::Formatter::Markdown")'

h3.

Formatters

h4. Textile2

Multi-Markdown

DefaultAn mainextension textto formatter.Markdown, Textileprobably isthe amost humanpowerful textand formatterstill light markup language. ItMojoMojo's populardefault. amongMore bloggers,versatile andthan hasTextile ain easythat toit learnsupports format.line Youbreaks, cancode readsections moreand aboutparagraphs itin atlists, "and reduces the creator'sneed website":http://textilefor escaping.thresholdstate.com/.

h4. Wiki

Textile

ThisAnother built-in text formatter. handlesTextile theis wiki-linkingpopular betweenamong pagesbloggers, inand MojoMojo.has Itan supportseasy [[Explicitto Link]]learn styleformat. CamelCaseYou iscan notread supportedmore byabout defaultit (weat learnedthe from TWikicreator's mistakes).website.

h4. Scrub

Wiki

This formatter handles the wiki-linking between pages in MojoMojo. It supports Explicit Link? style. CamelCase is not supported by default (we learned from TWiki's mistakes).

Scrub

This formatter ensures that the generated HTML is squeaky clean. That means it makes sure the generated output doesn't contain any potentially harmful elements.

h4.

Table Comment

of Contents

Generates a table of contents from the headings in the document. Syntax:

{{toc start_heading_level - end_heading_level}}

The start_heading_level and end_heading_level are optional. The following are valid examples:

Comment

Allows user comment on page. syntax \n=comment\n

h4.

Pod

Formats Plain Old Documentation. processesProcesses blocks between \n=pod\n

h4.

Include

verbatimVerbatim httpHTTP include. Loaded at runtime. syntaxSyntax: \n=url\n

h4.

IRCLog

see killtrac for example.