// This is a comment and won't be rendered.Basic Syntax
Comments
Just like programming languages, Mau supports single-line and multi-line comments. A single line comment uses double slashes
Multi-line comments are surrounded by four slashes on a separate line
////
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.
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.
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.
This is still
a single paragraph.This is still a single paragraph.
<p>This is still a single paragraph.</p>If you set up the test environment, you can try all the examples in this chapter by pasting them into test.mau and re-running the compile command. Try adding a comment, a blank line, and a few paragraphs to see how Mau handles them.