Text formatting
Bold and italics
Emphasis uses runs of apostrophes:
| You write | You get |
|---|---|
''italic'' | italic |
'''bold''' | bold |
'''''bold italic''''' | bold italic |
Single apostrophes are never markup — don't, rock 'n' roll, and
[[Rock 'n' Roll]] all pass through untouched. Only a run of two or more
apostrophes is interpreted.
Details worth knowing:
- Emphasis is per-line. A
''opened on one line will not carry to the next — the parser closes it at the end of the line. Unclosed markup is auto-closed, sounclosed ''italicstill renders the rest of the line in italics rather than showing stray apostrophes. - Four apostrophes render as one literal apostrophe followed by bold.
- To show literal apostrophe runs, use nowiki.
Paragraphs and line breaks
- Consecutive lines of text join into one paragraph.
- A blank line starts a new paragraph. Extra blank lines don’t add extra space — runs of blank lines collapse.
- A newline inside a paragraph does not become a line break. For a hard
break, write the HTML tag
<br />.
Horizontal rule
Four or more dashes at the start of a line:
----Preformatted text
A line that starts with a space becomes preformatted (monospace, preserved spacing); consecutive space-prefixed lines join into one block:
this line is preformatted
so is this oneFor code with syntax highlighting, prefer the syntaxhighlight tag.
Because a leading space means “preformatted”, be careful with markup that can leave a space at the start of a line — for example a template that doesn’t exist expands to nothing, and the space after it can turn the rest of the line into a preformatted block.
Inline HTML
A curated set of HTML tags is allowed and can be mixed with wiki markup —
<sup>, <sub>, <u>, <s>, <span>, <div>, semantic tags, and more.
Anything outside the allowlist is escaped and shown as literal text, never
silently dropped, so you can always see what happened. Event handlers
(onclick=…) are always removed. The full generated lists live in
HTML & CSS.