Skip to main content

Markdown Cheatsheet

Quick reference guide for all markdown syntax. Bookmark this page for instant access to markdown commands.

Headers
# H1
Large header
## H2
Medium header
### H3
Small header
#### H4
Smaller header
##### H5
Very small header
###### H6
Smallest header
Text Formatting
**bold**
Bold text
*italic*
Italic text
***bold italic***
Bold and italic
~~strikethrough~~
Strikethrough text
`code`
Inline code
Lists
- Item 1↵- Item 2
Unordered list
1. Item 1↵2. Item 2
Ordered list
- [ ] Todo↵- [x] Done
Task list
Links & Images
[Link](https://example.com)
Clickable link
[Link](url "title")
Link with tooltip
![Alt text](image.jpg)
Embedded image
![Alt](image.jpg "title")
Image with caption
Code Blocks
```↵code↵```
Code block
```javascript↵code↵```
Syntax highlighted
indented code
Indented code block
Tables
| Col1 | Col2 |↵|------|------|↵| Data | Data |
Basic table
| Left | Center | Right |↵|:-----|:------:|------:|
Aligned columns
Other Elements
> Blockquote
Quoted text
---
Horizontal rule
\\
Line break
https://example.com
Auto-link

Pro Tips

Keyboard Shortcuts

  • Ctrl/Cmd + B - Bold
  • Ctrl/Cmd + I - Italic
  • Ctrl/Cmd + K - Link
  • Ctrl/Cmd + Shift + K - Code block

Best Practices

  • • Use blank lines around headers
  • • Add alt text to all images
  • • Keep lines under 120 characters
  • • Use consistent list formatting

Want to Practice?

Test all these examples in MarkGenie's live editor with real-time preview.