Search:

Wiki Formatting: Item Lists

Abstract: This file describes formatting of item lists.

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.

Table 1 - Item List Characters
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

The colon behind the definition-term must appear and the last character on the line of the term.

Nested lists

Nested lists are created automatically when a list item with more than three spaces is found (each additional space increases the list level by one) and closed if an item with less spaces is found. Notice that you can not jump from list level three to five - the nested list will always be created on the next list level.

< dag | at | awk-scripting.de >