Simple List

Simple lists are vertical arrangements of items without any symbol or character preceding the items in the list. Use simple lists when the order of the items is not important.

To create a simple list, use the simple-list tag (:sl.) to begin the list and its corresponding end tag, :esl.. Identify each item in the list with a list-item tag (:li.).

Input Example

:p.Bring the following for lunch:
:sl.
:li.Fruit
:li.Sandwich
:li.Drink
:esl.

Formatted Output

Bring the following for lunch:

A Compact Simple List: Use the compact attribute to produce a list with no blank lines between the list items.

Input Example

:p.Bring the following for lunch::sl compact.
:li.Fruit
:li.Sandwich
:li.Drink
:esl.

Formatted Output

Bring the following for lunch:

Nested Lists: A nested list is a list that is contained within another list. The following shows the tagging for a simple list nested within another simple list, and the resulting output.

Input Example

:p.Bring the following for lunch::sl.
:li.Fruit, for example:
:sl compact.
:li.Apple
:li.Orange
:li.Pear
:li.Banana
:esl.
:li.Sandwich
:li.A drink
:esl.

Formatted Output

Bring the following for lunch:


[Back: :warning.]
[Next: Unordered List]