Sections are used to organize arbitrary blocks of text.
Normal Sections
Normal sections are delimited above with a line of three left curly brackets ({
) and below with a line of three right curly brackets (}
). Generally speaking, normal sections aren’t noticable in the displayed text, so special attributes are used to change how they look.
Paragraph above.
{{{
* A section with
* an unordered list.
}}}
Paragraph below.
Paragraph above.
- A section with
- an unordered list.
Paragraph below.
Code Sections
A code section is used to display lines of code without interference from the Wiki parser. A code section looks like a normal section, except that the three left curly brackets are immediately followed by a percent sign (%
).
A code section does support character formatting like emphasis, hyperlinks, etc. To also prevent the Wiki parser from processing character formatting, add a tilde (~
) immediately after the percent sign.
Paragraph above.
{{{%
#. You can use a /code section/
#. to document wiki syntax.
}}}
{{{%~
#. You can use a /code section/
#. to document wiki syntax.
}}}
Paragraph below.
Paragraph above.
#. You can use a code section
#. to document wiki syntax.
#. You can use a /code section/
#. to document wiki syntax.
Paragraph below.
Sections can be also be started with more than three left curly brackets; only a line with the same number of right curly brackets will close the section. This is generally unnecessary, because sections can be nested arbitrarily, even when using only three left curly brackets. However, since code sections prevent the contained text from being parsed until the section is closed, this feature is necessary to add a line with three right curly brackets to a code section without closing that code section. To display the markup in the example above, this Wiki document used markup that looks like this:
{{{{%~
Paragraph above.
{{{%
#. You can use a code section
#. to document wiki syntax.
}}}
{{{%~
#. You can use a /code section/
#. to document wiki syntax.
}}}
Paragraph below.
}}}}