Moin Format Syntax

The syntax of the wiki format is described in various locations on the MoinMoin site:

Various enhancements are introduced in MoinLight, and these are described below.

  1. Anchor
  2. Line Break
  3. Links
  4. Lists
  5. Table Regions
  6. Verbatim

Anchor

Introduce an anchor employing a fragment identifier that can be reached by a link employing the identifier. For example, end is a link to the anchor ((end)) near the end of this page.

Syntax

((identifier))

Here, identifier is the fragment identifier for the anchor.

The <<Anchor(identifier)>> macro has the same function.

Line Break

Introduces a line break in the page. For example:

Above
Below

Syntax

Above
\\
Below

Here, \\ is the line break symbol.

The <<BR>> macro has the same function.

Link syntax remains largely compatible with Moin, but it is possible to break links across lines. For example:

a description of a link to the Moin format syntax wrapped across multiple lines

Syntax

[[MoinSyntax|a description of a link to the Moin format syntax
wrapped across multiple lines]]

The Moin link syntax applies, including the transclusion syntax.

Lists

List syntax is generally compatible with Moin, but MoinLight supports a less restrictive syntax in certain cases. For example:

title
value

Here, the definition list supports formatting in the title element of each list item.

Syntax

To illustrate the above example:

 `title`:: value

Table Regions

Provides a more readable and convenient way of describing tables. For example:

Top Left Top Right
Bottom Left Bottom Right (continued)

Syntax

{{{#!table
Top Left || Top Right
==
Bottom Left || Bottom Right
            .. (continued)
}}}

Provides mostly the same functionality as the MoinMoin extension ImprovedTableParser.

Verbatim

Introduce text verbatim in the page, ignoring any other markup features that may be present. For example:

some ''verbatim'' text

Syntax

<<<some ''verbatim''
text>>>

Here, <<< and >>> enclose the verbatim text.

The <<Verbatim(some ''verbatim'' text)>> macro has a similar function, but being a macro it imposes limitations on the enclosed content, such as not permitting newlines.


A demonstration of the anchor syntax.