Skip to main content

Markdown Cheat Sheet

Quick reference guide with live examples and one-click copy

โญ

Popular Snippets

Most frequently used markdown patterns - one-click copy for instant use

Heading 1

Largest heading size

Text
# Heading 1

Heading 1

Heading 2

Second level heading

Text
## Heading 2

Heading 2

Heading 3

Third level heading

Text
### Heading 3

Heading 3

Bold Text

Make text bold/strong

Text
**bold text** or __bold text__

bold text or bold text

Italic Text

Make text italic/emphasized

Text
*italic text* or _italic text_

italic text or italic text

Bold and Italic

Combine bold and italic

Text
***bold and italic***

bold and italic

Strikethrough

Strike through text

Text
~~strikethrough text~~

strikethrough text

Blockquote

Create a blockquote

Text
> This is a blockquote

This is a blockquote

Unordered List

Bullet point list

Lists
- Item 1
- Item 2
- Item 3
  • Item 1
  • Item 2
  • Item 3

Ordered List

Numbered list

Lists
1. First item
2. Second item
3. Third item
  1. First item
  2. Second item
  3. Third item

Nested List

List with sub-items

Lists
- Main item
  - Sub item 1
  - Sub item 2
  • Main item
    • Sub item 1
    • Sub item 2

Task List

Checkbox list

Lists
- [x] Completed task
- [ ] Incomplete task
  • [x] Completed task
  • [ ] Incomplete task

Link

Create a hyperlink

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

Link with Title

Link with hover title

Links
[Link](https://example.com "Title on hover")

Image

Embed an image

Links
![Alt text](data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Crect width='150' height='150' fill='%23cccccc'/%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' font-family='sans-serif' font-size='14' fill='%23666666'%3E150x150%3C/text%3E%3C/svg%3E)

![Alt text](data:image/svg+xml,%3Csvg xmlns=โ€˜http://www.w3.org/2000/svgโ€™ width=โ€˜150โ€™ height=โ€˜150โ€™%3E%3Crect width=โ€˜150โ€™ height=โ€˜150โ€™ fill=โ€˜%23ccccccโ€™/%3E%3Ctext x=โ€˜50%25โ€™ y=โ€˜50%25โ€™ dominant-baseline=โ€˜middleโ€™ text-anchor=โ€˜middleโ€™ font-family=โ€˜sans-serifโ€™ font-size=โ€˜14โ€™ fill=โ€˜%23666666โ€™%3E150x150%3C/text%3E%3C/svg%3E)

Linked Image

Image that links somewhere

Links
[![Alt text](data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Crect width='150' height='150' fill='%23cccccc'/%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' font-family='sans-serif' font-size='14' fill='%23666666'%3E150x150%3C/text%3E%3C/svg%3E)](https://example.com)

Inline Code

Code within a sentence

Code
Use `inline code` for code snippets.

Use inline code for code snippets.

Code Block

Multi-line code block

Code
```
function hello() {
  console.log("Hello!");
}
```
function hello() {
  console.log("Hello!");
}

Code Block with Language

Syntax highlighted code

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

Table

Create a basic table

Tables
| Header 1 | Header 2 |
| --- | --- |
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |
Header 1 Header 2
Cell 1 Cell 2
Cell 3 Cell 4

Aligned Table

Table with column alignment

Tables
| Left | Center | Right |
| :--- | :---: | ---: |
| L1 | C1 | R1 |
| L2 | C2 | R2 |
Left Center Right
L1 C1 R1
L2 C2 R2

Horizontal Rule

Divider line

Advanced
---

Footnote

Add a footnote reference

Advanced
Text with footnote[^1]

[^1]: Footnote content

Text with footnote[^1]

[^1]: Footnote content

Heading with ID

Heading with custom anchor

Advanced
### My Heading {#custom-id}

My Heading {#custom-id}

Definition List

Term and definition pairs

Advanced
Term
: Definition of the term

Term : Definition of the term

Need more markdown tools? Check out PixelProbe to audit photo metadata for privacy.