Wiki Formatting: Item Lists
Abstract: This file describes formatting of item lists.
Wiki Formatting
All three kinds of HTML lists are supported. A list item starts with three spaces at the beginning of a new line followed by the list type character.
| Character | List Type |
- |
unordered list |
# |
numbered list |
: |
definition list. The colon marks the beginning of the definition term of the definition list item. The definition term ends with another colon at the end of the line, starting the item's definition data. |
. |
a dot ends the current list. The next following list item creates a new list. |
Lists don't have to be started as in HTML, they are created as soon as the first list item is recognized.
Numbered and unnumbered lists
These list start with either a # for numbered, and - for unnumbered lists.
[ # | - ] [ enumchar ] [ %class= ] item-text
The style of numered and unnumbered lists can be changed by an optional enumchar following directly the first list item control character. Possible variants are:
c d n s-
changes the list marker to circle, disc, none or square.
a A i I- changes to list marker to lower or upper alphabetic, lower or upper roman characters.
Definition lists
Definition lists don't have similar options, each item consists just of the defintion term and the text.
: definition-term :
definition text
definition text
The colon behind the definition-term must appear and the last character on the line of the term.