Stars identify *strong* text.
Underscores for _emphasized_ text.
Carets for ^superscript^ and tildes for ~subscript~.
Backticks are used for `verbatim` text.
Text styles
Text can be style using simple inline syntax.
Mau source
Mau output
Stars identify strong text.
Underscores for emphasized text.
Carets for superscript and tildes for subscript.
Backticks are used for verbatim
text.
Paragraphs
Paragraphs of text can contain style and macros.
Mau sourceParagraphs are separated by empty lines.
Paragraphs can contain macros.
The source code can be found
at [link](https://github.com/Project-Mau/mau).
Paragraphs are separated by empty lines.
Paragraphs can contain macros.
The source code can be found
at [link](https://github.com/Project-Mau/mau).
Mau output
Paragraphs are separated by empty lines.
Paragraphs can contain macros. The source code can be found at https://github.com/Project-Mau/mau.
Variables
Variables can be defined inside and outside Mau documents and used to customise the output.
Mau source:answer:42
:+trueflag:
Mau supports variables. The answer is {answer}.
Macros can render
[@if:trueflag:&true](text conditionally, whatever).
:answer:42
:+trueflag:
Mau supports variables. The answer is {answer}.
Macros can render
[@if:trueflag:&true](text conditionally, whatever).
Mau output
Mau supports variables. The answer is 42.
Macros can render text conditionally.
Headers and footnotes
Mau has full support for headers and footnotes, and provides commands to insert objects like the ToC.
Mau source= Mau has headers
== Mau has subheaders
A ToC can be created with
::toc:
Paragraphs can contain footnotes[footnote](note).
[*footnote, note]
====
This is a footnote.
====
::footnotes:
= Mau has headers
== Mau has subheaders
A ToC can be created with
::toc:
Paragraphs can contain footnotes[footnote](note).
[*footnote, note]
====
This is a footnote.
====
::footnotes:
Lists
Mau lists are very flexible and can be easily interrupted and restarted.
Mau source# Lists can be
# Ordered
** Or unordered
** Both with multiple levels
And can be interrupted
[start=auto]
# And restarted
# Automatically
# Lists can be
# Ordered
** Or unordered
** Both with multiple levels
And can be interrupted
[start=auto]
# And restarted
# Automatically
Mau output- Lists can be
- Ordered
- Or unordered
- Both with multiple levels
- Or unordered
- Both with multiple levels
And can be interrupted
- And restarted
- Automatically
Templates
The true power of Mau is the use of multiple visitors and templating engines. Jinja templates can be used to render content in completely different ways depending on the context.
Mau source= Templates can transform content
== And radically change the output!
[#alternate]
= Templates can transform content
[#alternate]
== And radically change the output!
= Templates can transform content
== And radically change the output!
[#alternate]
= Templates can transform content
[#alternate]
== And radically change the output!
Mau outputTemplates can transform content
And radically change the output!
# TEMPLATES CAN TRANSFORM CONTENT
And radically change the output!
Blocks
Blocks are a powerful structure that can isolate and manipulate the content in different ways.
Mau source[*quote]
====
Blocks can be used in multiple ways such as quotes.
====
Anonymous
[*admonition, note, "fas fa-info"]
====
Or admonitions, but not only.
====
[*callout]
====
Through templates we can heavily customise the output.
====
[*quote]
====
Blocks can be used in multiple ways such as quotes.
====
Anonymous
[*admonition, note, "fas fa-info"]
====
Or admonitions, but not only.
====
[*callout]
====
Through templates we can heavily customise the output.
====
Mau outputBlocks can be used in multiple ways.
Or admonitions, but not only.
Through templates we can heavily customise the output.
Blocks can be used in multiple ways.
Through templates we can heavily customise the output.