**bold** or __bold__ | Bold text |
*italic* or _italic_ | Italic text |
***bold italic*** | Bold and italic |
~~strikethrough~~ | Strikethrough |
`inline code` | Inline code |
<sub>subscript</sub> | Subscript (HTML) |
<sup>superscript</sup> | Superscript (HTML) |
==highlight== | Highlight (some parsers) |
# Heading 1 | Largest heading |
## Heading 2 | Second level heading |
### Heading 3 | Third level heading |
#### Heading 4 | Fourth level heading |
##### Heading 5 | Fifth level heading |
###### Heading 6 | Smallest heading |
Heading 1
========= | Alt syntax for H1 |
Heading 2
--------- | Alt syntax for H2 |
Line 1
Line 2 | New paragraph (blank line) |
Line 1
Line 2 | Line break (2 spaces + enter) |
Line 1<br>Line 2 | Line break (HTML) |
> Blockquote | Blockquote |
> Quote
> continued | Multi-line quote |
> Level 1
>> Level 2 | Nested blockquote |
- Item 1
- Item 2
- Item 3 | Dash syntax |
* Item 1
* Item 2
* Item 3 | Asterisk syntax |
+ Item 1
+ Item 2
+ Item 3 | Plus syntax |
- Item 1
- Nested 1
- Nested 2 | Nested list (2 spaces) |
1. First
2. Second
3. Third | Numbered list |
1. First
1. Second
1. Third | Auto-numbering (all 1s) |
1. Item
1. Nested
2. Nested | Nested ordered list |
- [ ] Unchecked item | Unchecked checkbox |
- [x] Checked item | Checked checkbox |
- [ ] Task 1
- [x] Task 2
- [ ] Task 3 | Task list |
[Link text](https://url.com) | Inline link |
[Link](https://url.com "Title") | Link with title |
<https://url.com> | Auto-link URL |
<email@example.com> | Auto-link email |
[Reference link][ref]
[ref]: https://url.com | Reference-style link |
[Link to heading](#heading-id) | Anchor link |
 | Basic image |
 | Image with title |
![Alt][img-ref]
[img-ref]: image.png | Reference-style image |
[](link) | Linked image |
<img src="img.png" width="200"> | Image with size (HTML) |
`inline code` | Inline code |
```
code block
``` | Fenced code block |
```javascript
const x = 1;
``` | Code with syntax highlighting |
```python
def hello():
print("Hi")
``` | Python code block |
indented code
(4 spaces) | Indented code block |
```diff
+ added
- removed
``` | Diff syntax |
| Header | Header |
| ------ | ------ |
| Cell | Cell | | Basic table |
| Left | Center | Right |
|:-----|:------:|------:|
| L | C | R | | Column alignment |
| H1 | H2 | H3 |
|-|-|-|
| A | B | C | | Minimal syntax |
| Name | Age | City |
|-------|-----|--------|
| Alice | 25 | Seoul |
| Bob | 30 | Busan | | Data table |
| Feature | Free | Pro |
|:--------|:----:|:----:|
| Basic | â | â |
| Advanced| â | â | | Feature comparison |
--- | Horizontal rule (dashes) |
*** | Horizontal rule (asterisks) |
___ | Horizontal rule (underscores) |
Text[^1]
[^1]: Footnote content | Basic footnote |
Text[^note]
[^note]: Named footnote | Named footnote |
Term
: Definition | Definition list |
Term
: Definition 1
: Definition 2 | Multiple definitions |
The HTML spec.
*[HTML]: Hyper Text Markup Language | Abbreviation definition |
\*not italic\* | Escape asterisks |
\# not a heading | Escape hash |
\[not a link\] | Escape brackets |
@username | Mention user |
#123 | Issue/PR reference |
SHA: a1b2c3d | Commit reference |
user/repo#123 | Cross-repo reference |
:emoji: | Emoji shortcode |
:+1: :heart: :rocket: | Common emojis |
> [!NOTE]
> Information | Note alert |
> [!TIP]
> Helpful advice | Tip alert |
> [!IMPORTANT]
> Key information | Important alert |
> [!WARNING]
> Potential issues | Warning alert |
> [!CAUTION]
> Negative consequences | Caution alert |
```mermaid
flowchart LR
A --> B --> C
``` | Flowchart |
```mermaid
sequenceDiagram
A->>B: Hello
``` | Sequence diagram |
```mermaid
pie title Chart
"A": 40
"B": 60
``` | Pie chart |