CoCalc Shared Fileswww / wiki / HelpOnLists.html
Author: William A. Stein
HelpOnLists
 [top] [TitleIndex] [WordIndex]

HelpOnLists

1. Lists and Indenting

You can create bulleted, bulletless and numbered lists in a quite natural way. All you do is indent the line containing the list item. To get bulleted items, start the item with an asterisk "*"; to get bulletless, start the item with a dot "."; to get numbered items, start it with a number template "1.", "a.", "A.", "i." or "I.". To start a numbered list with a certain initial value, append "#value" to the number template.

The asterisk, the dot and the number template must be preceded and followed by at least one space.

To nest lists of different levels, you use different depths of indenting. All items on the same indent level belong to the same (sub-)list. That also means that you cannot change the style of a list after you started it.

Definition lists can be created by items of the form <whitespace>term:: definition; note that the term cannot currently contain any wiki markup.

1.1. Example

If you indent text
like this, then it is indented in the output
you can have multiple levels of indent

And if you put asterisks at the start of the line
* you get a
* bulleted
* list
* which can also be indented
* to several levels
* you can put linebreaks in the wiki markup of a list item by
indenting the additional lines at the same
level as the initial star that began the list item.
<!> does not work for numbered list

Note two lines at the same indent
are actually joined together.  You need to use
. the dot
. template
. to get a list
. which can also be indented
. to several levels
. like the bulleted list example above

A numbered list, mixed with bullets:
1. one
1. two
1. one
* bullet 1
* bullet 2
1. two
1. three
* bullet
1. one

Variations of numbered lists:
* Lowercase roman
i. one
i. two
* Uppercase roman (with start offset 42)
I.#42 forty-two
I. forty-three
* Lowercase alpha
a. one
a. two
* Uppercase alpha
A. one
A. two

term:: definition
another term:: and its definition


1.2. Display

If you indent text

• like this, then it is indented in the output
• you can have multiple levels of indent

And if you put asterisks at the start of the line

• you get a
• bulleted
• list
• which can also be indented
• to several levels
• you can put linebreaks in the wiki markup of a list item by indenting the additional lines at the same level as the initial star that began the list item.
• does not work for numbered list

• Note two lines at the same indent are actually joined together. You need to use
• the dot
• template
• to get a list
• which can also be indented
• to several levels

A numbered list, mixed with bullets:

1. one
2. two
1. one
• bullet 1
• bullet 2
2. two
3. three
• bullet
1. one

Variations of numbered lists:

• Lowercase roman
1. one
2. two
• Uppercase roman (with start offset 42)
1. forty-two
2. forty-three
• Lowercase alpha
1. one
2. two
• Uppercase alpha
1. one
2. two
term
definition
another term
and its definition

2013-05-11 18:32