Reference GuideCommonMark & GFM

Markdown & GFM Syntax Cheat Sheet

Everything you need to format text, write LaTeX formulas, build diagrams, and structure documents with Markdown.

Headings & Typography

Markdown Input
# Heading 1
## Heading 2
### Heading 3
**Bold Text** or __Bold Text__
*Italic Text* or _Italic Text_
~~Strikethrough~~
==Highlighted Text==
Rendered Result

Heading 1

Heading 2

Heading 3

Bold Text
Italic Text
Strikethrough

Code & Syntax Highlighting

Markdown Input
`inline code snippet`
```typescript
const greeting: string = "Hello, world!";
console.log(greeting);
```
Rendered Result
Use inline code snippet in sentences.
const greeting: string = "Hello, world!";\nconsole.log(greeting);

KaTeX Mathematical Formulas

Markdown Input
Inline: $E = mc^2$
Block equation:
$$
\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}
$$
Rendered Result
Einstein's formula: E = mc²
∫ e-x² dx = √π

Mermaid.js Flowcharts & Diagrams

Markdown Input
```mermaid
graph LR
A[Input] --> B((Engine))
B --> C[Preview Output]
```
InputEnginePreview

GitHub Admonitions / Callouts

Markdown Input
> [!NOTE]
> Highlights essential information.
> [!WARNING]
> Critical alerts for caution.
NOTE
Highlights essential information.
WARNING
Critical alerts for caution.
Try these in the Live Studio