Sponsored
Ad slot is loading...

Markdown Cheat Sheet

Complete Markdown syntax reference. Headers, emphasis, links, images, lists, code blocks, tables. Essential for GitHub, documentation, and blog writing.

Markdown Syntax (36)

Headers
# H1
Header level 1
Headers
## H2
Header level 2
Headers
### H3
Header level 3
Headers
#### H4
Header level 4
Headers
# Title #
Closing # optional
Emphasis
*italic*
Italic text
Emphasis
**bold**
Bold text
Emphasis
***bold italic***
Bold + italic
Emphasis
~~strikethrough~~
Strikethrough
Links
[text](url)
Link to URL
Links
[text](url "title")
Link with title
Links
[ref]: url
Reference link
Images
![](url)
Image
Images
![](url "title")
Image with title
Lists
- item
Unordered list
Lists
* item
Unordered list
Lists
+ item
Unordered list
Lists
1. item
Ordered list
Lists
- nested
Nested list item
Code
`inline code`
Inline code
Code
```code block```
Fenced code block
Code
```js
Code with language
Code
indented
Indented code (4 spaces)
Blockquote
> quote
Blockquote
Blockquote
> nested quote
Nested blockquote
Table
| a | b |
Table header
Table
|---|---|
Table separator
Table
| left | center | right |
Alignment :-- :--: --:
Line
---
Horizontal rule
Line
***
Horizontal rule
Line
___
Horizontal rule
Escape
\*
Escape special chars
Task
- [ ] task
Unchecked task
Task
- [x] done
Checked task
HTML
<br>
Raw HTML allowed
HTML
<details>
Collapsible content

Example Document

# Title

**Bold** and *italic* text.

- List item 1
- List item 2

[Link](https://example.com)

`inline code`

```javascript
const x = 1;
```

GitHub Flavored Markdown

Tasks: - [ ] and - [x]
Tables: | a | b |
Autolinks: URLs auto-link
Strikethrough: ~~text~~
Syntax: ```lang
Mentions: @user #issue
Sponsored
Ad slot is loading...