Output
Show formatting help

Styles can be applied to individual words or to entire paragraphs.

[styles]
Styles the entire paragraph; must be put at the very beginning of the paragraph.
[styles|text]
Styles only the text after the pipe character (“|”). Nesting is supported.
Note: you can only style entire words, not parts of words.

styles is a set of space-separated rules, as detailed below.

Integers consist of the characters 0 to 9 only. Negative numbers are not allowed.

Words and paragraphs:

size=integer or integerpt
Sets the font size of the paragraph or part of it. The default size is 20.
color=value or #xxx or #xxxxxx
Sets the text colour of the paragraph of part of it. color may also be spelled colour.
value can either be a hexadecimal colour code, preceded by #, or a CSS colour keyword, such as red or cyan.
x represents a single hexadecimal digit; that is, a character in the ranges 09 and af.

Paragraph-level only:

top or t
Aligns the text to the top. This is the default.
middle or m
Vertically centers the text.
bottom or b
Aligns the text to the bottom.
justify or j
Enables text justification. This may be combined with any of the three alignments, e.g. [middle justify]; otherwise, top is used.
margin-top=integer or mt=integer
Sets the top margin, which effectively indents the entire paragraph.
margin-bottom=integer or mb=integer
Sets the bottom margin.
margin-left=integer or ml=integer
Sets the left margin, which is before the paragraph; that is, between the paragraph and the preceding paragraph.
margin-right=integer or mr=integer
Sets the right margin, which is after the paragraph; that is, between the paragraph and the following paragraph.

Note: margins do collapse. If the first paragraph has margin-right=30 and the second paragraph has margin-left=40, the total distance between the paragraphs will be 40 pixels, not 70.