Mau - A template-based markup language
Lists and footnotes
- “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.”
David Gemmell, Legend (1984)
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
* List item
** Another nested list item
* List item
- List item
- Nested list item
- Nested list item
- Nested list item
- List item
- Another nested list item
- List item
To create an ordered lists use the character #
# Step 1
# Step 2
## Step 2a
## Step 2b
# Step 3
- Step 1
- Step 2
- Step 2a
- Step 2b
- Step 3
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
Footnotes¶
You can insert a footnote reference in a paragraph using the macro footnote
This is a paragraph with a note[footnote](extra information here).
This is a paragraph with a note[1].
Footnotes can then be inserted with the command ::footnotes:
and are then rendered according to the template, an example could be
This is a paragraph with a note[footnote](extra information here).
::footnotes: