Revision 11 - 2009-03-09 at 20:08:27


h1. MojoMojo Cheatsheet

In MojoMojo, you can write wiki pages using HTML and one of two popular "lightweight markup languages": Textile and Markdown. While you must currently choose between Textile and Markdown when creating your wiki, HTML is always available, for a few "good reasons":

h2. Choosing between Textile2 and MultiMarkdown

"Textile2": is an extension to Textile. "MultiMarkdown": is an extension to "Markdown":, adding support for

Textile2 can't render blockquotes in lists because the "bq." block signature requires being surrounded by blank lines, and blank lines break lists:


Avoid problems, and you'll never be the one who overcame them. -- Richard Bach


There is no elevator to success. You have to take the stairs.

"Markdown's documentation": explicitly tells how to "put a blockquote within a list item".

Generally, Markdown is more powerful, and Textile is simpler. The most common differences between them are:

  • link syntax * Textile: "Link text": * Markdown: [Link text](
  • emphasis * Textile: *bold, _italic_ * Markdown: *italic ('em'), *bold* ('strong')
  • both Textile2 and MultiMarkdown have a syntax for "definition lists": but MojoMojo currently doesn't support the MultiMarkdown syntax.
  • backslash-escaping: Textile can't escape characters (you have to use their HTML code, e.g. @*@ for a '*'. In Markdown, you just write *
  • auto-hyperlinking: * Textile automatically hyperlinks URLs * Markdown: you need to enclose the URL in angle brackets: <>

To switch MojoMojo to use MultiMarkdown, run this one-liner in the MojoMojo directory:

bc. perl -Ilib -MMojoMojo -e'MojoMojo->pref("main_formatter", "MojoMojo::Formatter::Markdown")'

h2. Cheatsheet

What you see MojoMojo "MultiMarkdown": MojoMojo Textile "Wikipedia":
MojoMojo features MojoMojo [[/features]] MojoMojo [[features]]
MojoMojo editing cheatsheet MojoMojo [[/documentation/cheatsheet | editing cheatsheet]] MojoMojo [[cheatsheet | editing cheatsheet]]

h2. Table headers (broken at the moment)

Example copied from the "MultiMarkdown syntax guide":

Prototype table
First Header Second Header Third Header
Content Long Cell
Content Cell Cell
New section More Data
And more And more
My tags:
Popular tags:
Powered by Catalyst