Headers
# H1
## H2
### H3
#### H4
##### H5
###### H6 |
H1H2H3H4H5H6 |
Text Formatting
*italic* | italic |
**bold** | bold |
~~strikeout~~ | strikeout |
==mark== | mark |
%red% colored %% | colored |
%#4ade80% hex color %% | hex color |
!>Spoiler text | Spoiler text |
Underline
!~ simple ~! | simple |
!~red; colored ~! | colored |
!~blue;wavy; wavy ~! | wavy |
!~green;double;underline;3; thick ~! | thick |
Underline params (semicolon-separated): color; style; type; thickness
Styles: solid double dotted dashed wavy
Types: underline overline line-through both
Thickness: 1–10
Alignment
-> centered <- | centered |
-> right -> | right |
Table of Contents
[TOC] | All headings H1–H6 |
[TOC2] | Headings H1–H2 only |
[TOC3] | Headings H1–H3 only |
Lists
- Item 1
- Item 2
- Nested
1. First
2. Second
- [ ] Todo
- [x] Done |
- First
- Second
|
Blockquotes
> Quote
>> Nested |
QuoteNested |
Code
```python
def hello():
print("hi")
``` | Syntax highlighted block |
`inline code` | inline code |
Links & Images
[text](https://example.com) | text |
 | image |
{200px:100px} | sized image |
 | float left |
 | float right |
 | YouTube embed |
Admonitions
!!! note Title
Content (4 spaces indent)
!!! info / warning / danger / greentext
Tables
| Left | Center | Right |
| :--- | :----: | ----: |
| A | B | C |
Other
*** |
|
!; | Clear floats |
[//]: (comment) | Hidden comment |
\*escaped\* | *escaped* |
Metadata Block
!meta
PAGE:
title: My Page
description: Page description
CONTAINER:
max-width: 800px
background: #111
CONTENT:
font-family: "Georgia"
color: #eee
OPTION:
no-views: true
no-search: true
SAFETY:
warning: true
label: Contains spoilers
!endmeta