Markdown Cheat Sheet
A quick reference for the syntax our converter understands — and the syntax most other tools support.
Headings
| Syntax | Description |
|---|---|
# Heading 1 | Largest heading |
## Heading 2 | Section heading |
### Heading 3 | Subsection |
#### Heading 4 to ###### Heading 6 | Smaller subsections |
Text formatting
| Syntax | Description |
|---|---|
**bold** | bold |
*italic* | italic |
***bold italic*** | bold italic |
~~strikethrough~~ | strikethrough |
`inline code` | inline code |
Backslash escape: \*literal\* | Escape special characters with \ |
Lists
| Syntax | Description |
|---|---|
- Item - Item - Nested item | Unordered list (use - or *) |
1. First 2. Second 3. Third | Ordered list |
- [x] Done - [ ] Todo | Task list (GFM) |
Links and images
| Syntax | Description |
|---|---|
[link text](https://example.com) | Inline link |
[link text](https://example.com "Title") | Link with hover title |
<https://example.com> | Auto-link |
 | Inline image |
 | Image with caption |
Code blocks
| Syntax | Description |
|---|---|
``` code ``` | Plain fenced code block |
```javascript
console.log("hi")
``` | Syntax-highlighted block (specify language) |
indented four spaces | Indented code block (older style) |
Blockquotes
| Syntax | Description |
|---|---|
> Quoted text | Blockquote |
> Outer > > Nested | Nested blockquote |
> **Note:** can contain other markdown | Blockquotes accept inline formatting |
Tables (GFM)
| Syntax | Description |
|---|---|
| Col A | Col B | |-------|-------| | 1 | 2 | | Basic table |
| Left | Center | Right | |:-----|:------:|------:| | a | b | c | | Column alignment via colons |
Math (LaTeX)
| Syntax | Description |
|---|---|
Inline: $E = mc^2$ | Inline math rendered with KaTeX |
Display:
$$
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$ | Centered display math block |
$\sum_{i=1}^n i = \frac{n(n+1)}{2}$ | Sums, fractions, integrals — full LaTeX math syntax |
Diagrams (Mermaid)
| Syntax | Description |
|---|---|
```mermaid flowchart LR A --> B --> C ``` | Flow chart |
```mermaid sequenceDiagram Alice->>Bob: Hello Bob-->>Alice: Hi! ``` | Sequence diagram |
```mermaid pie title Languages "Go" : 40 "Rust" : 30 "TS" : 30 ``` | Pie chart |
Other
| Syntax | Description |
|---|---|
--- | Horizontal rule (also *** or ___) |
Line break | Hard line break (two trailing spaces) |
<br> | HTML tags work in most flavors |
[^1]: Footnote text | Footnote (some flavors) |
Try it out — paste any of this syntax into the converter.
Open the converter →