Block elements
| Element | Standard Syntax | Extended Syntax |
|---|---|---|
| Heading | # Text | <h1 align="center">Text</h1> |
| Paragraph | Text | <p align="justify">Text</p> |
| Text2 | | Text | Secondary paragraph style |
| Ordered list | 1. Item | — |
| Unordered list | - Item | — |
| Image |  | {width=200 align=center} |
| Code block | ```lang | ```lang{renderAsImage=true} |
| Math (block) | $$...$$ | $${align=center}...$$ |
| Table | | H1 | H2 | | :::table{caption="..." headerBg="#f0f0f0"} |
| Chart | — | :::chart{type="bar"}...::: |
| QR Code | — | :::qrcode{type="url"}...::: |
| Page break | --- | ---pagebreak{orientation="landscape"}--- |
| Spacer | — | ---spacer{height=2}--- |
| Page section | — | ---page{align=center}---...---/page--- |
Inline formatting
| Format | Syntax |
|---|---|
| Bold | **text** |
| Italic | *text* or _text_ |
| Bold Italic | ***text*** |
| Underline | ++text++ or __text__ |
| Strikethrough | ~~text~~ |
| Highlight | ==text== |
| Highlight (color) | ==text=={#color} |
| Inline code | `code` |
| Link | [text](url) |
| Line break | <br> |
References & special inline elements
| Element | Syntax |
|---|---|
| Heading anchor | # Title {#anchor-id} |
| Internal ref (auto) | [](#anchor) |
| Internal ref (numbered) | [Figure {num}](#anchor) |
| Internal ref (custom) | [Custom text](#anchor) |
| Citation | @[key] |
| Citation (locator) | @[key, p. 42] |
| Citation (suppress author) | @[-key] |
| Citation (author only) | @[key!] |
| Abbreviation | ~ABK~ |
| Variable | {{name}} |
| Date variable | {{date/DD.MM.YYYY}} |
Automatic indices
| Index | Syntax |
|---|---|
| Table of Contents | ::toc{title="Contents" maxLevel=3} |
| List of Figures | ::lof{title="Figures"} |
| List of Tables | ::lot{title="Tables"} |
| List of Abbreviations | ::loa{title="Abbreviations"} |
| Bibliography | ::bibliography{title="References"} |
