Markdown Cheatsheet

A comprehensive guide to Markdown syntax, from basic formatting to advanced features. This page automatically adjusts to your system's light or dark theme.

Basic Syntax

These elements are supported by virtually all Markdown parsers.

Element Markdown Syntax Rendered Effect
Headers
# H1 Header
## H2 Header
### H3 Header
#### H4 Header
##### H5 Header
###### H6 Header

H1 Header

H2 Header

H3 Header

H4 Header

H5 Header
H6 Header
Emphasis
*This text will be italic*
_This will also be italic_

**This text will be bold**
__This will also be bold__

~~This text is strikethrough~~

***Bold and Italic***
This text will be italic
This will also be italic

This text will be bold
This will also be bold

This text is strikethrough

Bold and Italic
Blockquote
> "The only true wisdom is in knowing you know nothing."
> - Socrates
"The only true wisdom is in knowing you know nothing."
- Socrates
Unordered List
* Item 1
* Item 2
  * Nested Item 2a
  * Nested Item 2b
- Item 3
+ Item 4
  • Item 1
  • Item 2
    • Nested Item 2a
    • Nested Item 2b
  • Item 3
  • Item 4
Ordered List
1. First item
2. Second item
3. Third item
   1. Indented item
   2. Indented item
4. Fourth item
  1. First item
  2. Second item
  3. Third item
    1. Indented item
    2. Indented item
  4. Fourth item
Code
Inline `code` has back-ticks around it.

For a block of code:
```javascript
function greet() {
  console.log("Hello, world!");
}
```
Inline code has back-ticks around it.

For a block of code:
function greet() {
  console.log("Hello, world!");
}
Horizontal Rule
---

***

___



Link
[Visit Google](https://www.google.com)
Visit Google
Image
![A placeholder image](https://placehold.co/100x50/007bff/ffffff?text=Image)
A placeholder image

Advanced & Extended Syntax

These features are part of extended specifications like GitHub Flavored Markdown (GFM) or CommonMark and are widely supported, but not universal.

Element Markdown Syntax Rendered Effect
Table
| Feature      | Support | Notes                      |
|--------------|---------|----------------------------|
| Headers      | 100%    | Core Markdown feature.     |
| Tables       | High    | Part of GFM.               |
| Strikethrough| High    | Common extension.          |
Feature Support Notes
Headers 100% Core Markdown feature.
Tables High Part of GFM.
Strikethrough High Common extension.
Task List
- [x] Complete project proposal
- [ ] Review feedback from team
- [ ] Submit final draft
  • Complete project proposal
  • Review feedback from team
  • Submit final draft
Footnotes
Here's a statement with a footnote.[^1]

And another one.[^longnote]

[^1]: This is the first footnote.
[^longnote]: This is a longer footnote with more text.

Here's a statement with a footnote.1

And another one.2


  1. This is the first footnote.
  2. This is a longer footnote with more text.
Highlighting
You can use ==highlighted text== for emphasis.
You can use highlighted text for emphasis.
Subscript
H~2~O
H2O
Superscript
X^2^
X2
Automatic URL Linking
https://www.github.com
https://www.github.com