Cheatsheet
All of LibreTimes Markdown on one page
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 conjecture definition proof example remark problem solution hint statement
solution and hint fold. [3] is a number, {#p-4} an anchor. All of it: Syntax reference.
Admonitions
:::tip
Boxed callout with a translated title.
:::Kinds:
callout note tip important warning caution
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.
Citations and cross-references
:::theorem[Lagrange]{#lagrange} (an anchor on a statement)
…
:::
By [Lagrange's theorem](#lagrange) (a link to it)
[@knuth1974, p. 33] (kept as typed; not resolved yet)Numbers, words and layout
:::theorem{number=3.17} (a printed number: Theorem 3.17.)
:::proof{label="Sketch of proof"} (your own word, not translated)
{align=center} (a line directly above any block)
{#key-table} (an anchor on any block)
E = mc^2 \tag{1} (inside a $$ display: its number)Books
:::verse :::epigraph :::dedication :::letter
:sc[Small Capitals] :pb[412] (a printed page number)Inline extensions
@[youtube](https://youtu.be/VIDEO_ID) (or @[vimeo](...))
@username (mention)
:attach[label]{#attachment-id} (attachment chip)Full details: Basics · Mathematics · Code · Extensions · Comments · HTML and security · Syntax reference