Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog
SDF supports 3 types of lists:
As lists are so common, they are supported by a special syntax:
special_tag text
where special_tag is a sequence of 1 to 6 special characters. Spaces or tabs between the tag and text are ignored.
To define an unordered list, use the '*' character. For example:
* peach * banana * mango.
The result is:
To define a plain list, use the '.' character. For example:
. peach . banana . mango.
The result is:
To define an ordered list, use the '^' character for the first item and the '+' character for remaining items. For example:
^ peach + banana + mango.
The result is:
To nest a normal paragraph inside a list, use the '.' tag. For example:
* peach . This is one of my favorites.
The result is:
Lists can be nested up to 6 levels. The nesting level is taken from the number of special characters in the tag. For example:
** a bulleted list at level 2 ^^^ an ordered list at level 3
To nest normal paragraphs inside these lists, use plain list items. For example:
** a bulleted list at level 2 .. A normal paragraph at level 2.
As a convenience, the '-' character can be used to specify a bulleted list at level 2. For example:
* inputs: - programmers - pizza * outputs: - software - empty pizza boxes.
The result is:
Likewise, the tags '--' to '-----' are equivalent to the tags '***' to '******'.
Contents | Parent Topic | Previous Topic | Next Topic
Home | Catalog