The Complete Markdown Cheat Sheet

A comprehensive quick-reference for every Markdown syntax element. Bookmark this page for your daily Markdown writing needs.

Headings

# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6

Text Formatting

**Bold text**        → **bold**
*Italic text*        → *italic*
***Bold and italic*** → ***both***
~~Strikethrough~~     → ~~strikethrough``
`Inline code`        → `code`
> Blockquote         → > quote

Line Breaks & Paragraphs

In Markdown, a new line within a paragraph requires two spaces at the end of the line or the <br> HTML tag. A blank line creates a new paragraph.

This is line one.  
This is line two (two trailing spaces).

This is a new paragraph (blank line above).

Links & Images

[Link text](https://example.com)
[Link with title](https://example.com "Title")
![Alt text](image-url.png)
![Alt with title](image.png "Title")

Lists

## Unordered
- Item 1
- Item 2
  - Nested item

## Ordered
1. First item
2. Second item
   1. Nested item

## Task List
- [x] Completed task
- [ ] Incomplete task

Tables

| Header 1 | Header 2 | Header 3 |
|----------|----------|----------|
| Cell 1   | Cell 2   | Cell 3   |
| Cell 4   | Cell 5   | Cell 6   |

Code Blocks

```javascript
function hello() {
  console.log("Hello, world!");
}
```

```python
def hello():
    print("Hello, world!")
```

Horizontal Rule

---
***
___

Footnotes

This is a sentence with a footnote[^1].

[^1]: This is the footnote content.

Escaping Characters

\*Not italic\*
\# Not a heading
\[Not a link\](not-a-url)

Convert Your Markdown

Ready to convert your Markdown to a professional document? Try our free tools: