Cheatsheet
Text
**bold** *italic* ~~strikethrough~~ ==highlight== `code`
H~2~O x^2^ pages 3--7 thought --- aside
\*escaped\* \$literal dollarStructure
## Section (body headings start at ##, max depth ####)
### Subsection
> blockquote
--- (horizontal rule)
Term
: DefinitionLists
- item
- nested item
1. first
2. second
- [ ] open task
- [x] done taskLinks, images, footnotes
[text](https://example.com)
<https://example.com> (or just paste the URL)

See [Anchors](#anchors) (heading anchor)
A claim.[^1]
[^1]: The footnote.Math
Inline $e^{i\pi} + 1 = 0$ or \( ... \)
$$
\int_0^1 x^2 \, dx = \frac{1}{3}
$$Code
```python
print("hi")
```
```python:file.py (with a title)
print("hi")
```Tables
| Left | Center | Right |
|:-----|:------:|------:|
| a | b | c |Statements
:::theorem[Lagrange]
Statement of the theorem.
:::
:::proof
The proof. (tombstone added automatically)
:::Kinds: theorem lemma corollary definition proof example remark
Admonitions
:::tip
Boxed callout with a translated title.
:::Kinds: note tip important warning caution callout
Blocks
::::spoiler[Solution]
Hidden until clicked.
::::
::::figure{#fig1}

The caption.
::::
:::tikz
\begin{tikzpicture} \draw (0,0) circle (1); \end{tikzpicture}
:::
:::::tabs
::::tab{name="Python"}
```python
print("hi")
```
::::
:::::Nesting directives: outer fence gets more colons than the inner.
Inline extensions
@[youtube](https://youtu.be/VIDEO_ID) (or @[vimeo](...))
@handle (mention)
:attach[label]{#attachment-id} (attachment chip)Full details: Basics · Mathematics · Code · Extensions · Comments · HTML and security