Basic Syntax

Comments

Just like programming languages, Mau supports single-line and multi-line comments. A single line comment uses double slashes

Mau source
// This is a comment and won't be rendered.

Multi-line comments are surrounded by four slashes on a separate line

Mau source
////
This is also a comment
but it's spread on
multiple lines
for fun and to be a
little more readable.
////

Comments are removed by the parser, so they do not appear in the final AST and are not rendered.

Paragraphs

Paragraphs are blocks of text separated by an empty line. Unless the text contains special syntax, Mau will leave it untouched.

Mau source code
Standard text on a single line.

Standard text on a single line.

<p>Standard text on a single line.</p>

Separate paragraphs

Multiple paragraphs are separated by at least one empty line.

Mau source code
This is the first paragraph.

This is the second paragraph.

This is the first paragraph.

This is the second paragraph.

<p>This is the first paragraph.</p>

<p>This is the second paragraph.</p>

Paragraphs on multiple lines

Multiple adjacent lines are collapsed into a single paragraph.

Mau source code
This is still
a single paragraph.

This is still a single paragraph.

<p>This is still a single paragraph.</p>