Lists
You can use the following types of lists:
Unordered lists
To create an unordered (bulleted) list, start each list item with an asterisk *. To create a nested list, add an extra asterisk * at the beginning of the line.
Unordered list formatting
Textile
* First item
** Subitem 1
** Subitem 2
* Second item
* Third item
* Fourth itemUnordered list formatting
HTML
<ul>
<li>First item
<ul>
<li>Subitem 1</li>
<li>Subitem 2</li>
</ul>
</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ul>
Ordered lists
To create an ordered (numbered) list, start each list item with a hash #. To create a nested list, add an extra hash # at the beginning of the line.
Ordered list formatting
Textile
# First item
## Subitem 1
## Subitem 2
# Second item
# Third item
# Fourth itemOrdered list formatting
HTML
<ol>
<li>First item
<ol>
<li>Subitem 1</li>
<li>Subitem 2</li>
</ol>
</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ol>
To define the item number, add the number after a hash #.
Ordered list formatting
Textile
#5 Fifth item
# Sixth itemOrdered list formatting
HTML
<ol start="5">
<li>Fifth item</li>
<li>Sixth item</li>
</ol>
To resume numbering after other text blocks, add an underscore _ after a hash #.
Ordered list formatting
Textile
# First item
# Second item
This is a paragraph
#_ Third item
# Fourth itemOrdered list formatting
HTML
<ol>
<li>First item</li>
<li>Second item</li>
</ol>
<p>This is a paragraph</p>
<ol start="3">
<li>Third item</li>
<li>Fourth item</li>
</ol>
Mixed lists
You can mix bullets and numbers in nested lists.
Mixed list formatting
Textile
# First item
** Subitem 1
** Subitem 2
# Second item
# Third item
# Fourth itemMixed list formatting
HTML
<ol>
<li>First item
<ul>
<li>Subitem 1</li>
<li>Subitem 2</li>
</ul>
</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ol>
Definition lists
Definition lists are useful if you want to provide a quick reference for abbreviations, terminology or specific concepts.
To create a definition list:
- Start a line with a semicolon
;followed by a space and then provide the term. - Start the next line with a colon
:followed by a space and then provide the term definition.
Definition list formatting
Textile
; SE
: High school/secondary education (or higher)
; UG
: Undergraduate diploma (or higher)
; PG
: Postgraduate diploma (or higher)Definition list formatting
HTML
<dl>
<dt>SE</dt>
<dd>High school/secondary education (or higher)</dd>
<dt>UG</dt>
<dd>Undergraduate diploma (or higher)</dd>
<dt>PG</dt>
<dd>Postgraduate diploma (or higher)</dd>
</dl>