= Moin Format Syntax =

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

 * [[MoinMoin:HelpOnMoinWikiSyntax]]
 * [[MoinMoin:HelpOnEditing]]

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

<<TableOfContents(2,2)>>

== 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.

This notation requires the [[Metadata#anchor|anchor]] metadata property to be
set to a true value. The `--anchor` option to [[moinconvert]] can be specified
to achieve this.

=== Syntax ===

{{{
((identifier))
}}}

Here, `identifier` is the fragment identifier for the anchor.

=== Related ===

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

== Line Break ==

Introduces a line break in the page. For example:

Above\\Below

This notation requires the [[Metadata#line_break|line_break]] metadata
property to be set to a true value. The `--line-break` option to
[[moinconvert]] can be specified to achieve this.

=== Syntax ===

{{{
Above
\\
Below
}}}

Here, {{{\\}}} is the line break symbol.

=== Related ===

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

== Links ==

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

[[MoinSyntax|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]]
}}}

=== Related ===

The [[MoinMoin:HelpOnLinking|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
}}}

== Non-Breaking Space ==

Introduces a non-breaking space in the page. For example:

First\_Second

This notation requires the [[Metadata#non_breaking_space|non_breaking_space]]
metadata property to be set to a true value. The `--nbsp` option to
[[moinconvert]] can be specified to achieve this.

=== Syntax ===

{{{
First\_Second
}}}

Here, {{{\_}}} is the non-breaking space symbol.

== Table Regions ==

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

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

=== Syntax ===

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

=== Related ===

Provides mostly the same functionality as the MoinMoin extension
[[MoinMoin:ParserMarket/ImprovedTableParser|ImprovedTableParser]].

== Verbatim ==

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

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

This notation requires the [[Metadata#verbatim|verbatim]] metadata property to
be set to a true value. The `--verbatim` option to [[moinconvert]] can be
specified to achieve this.

=== Syntax ===

{{{
<<<some ''verbatim''
text>>>
}}}

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

=== Related ===

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.

----

((end))
A demonstration of the [[#Anchor|anchor]] syntax.
