* List item
** Nested list item
*** Nested list item
* List item
** Another nested list item
* List item
Lists
- “Most people will tell you they know their weaknesses. When asked, they tell you, ‘Well, for one thing I’m overgenerous.’ Come on, then; list yours if you must. That’s what innkeepers are for.”
- “Well, for one thing I’m overgenerous, especially to innkeepers.”
Unordered lists
Mau supports the creation of lists. You can create unordered lists using one or more characters *
according to the level of the element
- List item
- Nested list item
- Nested list item
- Nested list item
- List item
- Another nested list item
- List item
Ordered lists
You can use the character #
to create an ordered list
# Step 1
# Step 2
## Step 2a
## Step 2b
# Step 3
- Step 1
- Step 2
- Step 2a
- Step 2b
- Step 3
Mixed lists
You can mix ordered and unordered lists
* List item
** Nested list item
### Ordered item 1
### Ordered item 2
### Ordered item 3
* List item
- List item
- Nested list item
- Ordered item 1
- Ordered item 2
- Ordered item 3
- Nested list item
- List item
All spaces before or after the initial characters are ignored.
* List item
** Nested list item
*** Nested list item
* List item
** Another nested list item (indented)
* List item
- List item
- Nested list item
- Nested list item
- Nested list item
- List item
- Another nested list item (indented)
- List item
Starting index
For ordered lists, the default starting index is 1, but this can be changed setting an attribute.
[start=42]
# Step 1
# Step 2
## Step 2a
## Step 2b
# Step 3
- Step 1
- Step 2
- Step 2a
- Step 2b
- Step 3
Sometimes, it's useful to have lists split in multiple sections, and have each section continue automatically from the previous one. This can be done setting start=auto
# Step 1
# Step 2
This is a paragraph that interrupts the list
[start=auto]
# Step 3
# Step 4
This is another paragraph that interrupts the list
[start=auto]
# Step 5
# Step 6
- Step 1
- Step 2
This is a paragraph that interrupts the list
- Step 3
- Step 4
This is another paragraph that interrupts the list
- Step 5
- Step 6