Markdown Cheat Sheet
Your complete reference guide. Every example is copy-ready—just click the copy button and paste into your document.
Headings
Use # symbols to create headings. More # symbols = smaller heading.
# Heading 1## Heading 2### Heading 3#### Heading 4##### Heading 5###### Heading 6Text Formatting
Add emphasis to your text with bold, italic, or strikethrough styling.
**bold text***italic text****bold and italic***~~strikethrough~~`inline code`Links
Create clickable hyperlinks to other pages or websites.
[Link Text](https://example.com)[Hover for title](https://example.com "Visit Example")<https://example.com><email@example.com>[Reference Link][1]
[1]: https://example.comImages
Embed images with alt text for accessibility.
[](https://link.com)Lists
Organize content with bullet points or numbered steps.
- Apple
- Banana
- Cherry1. First step
2. Second step
3. Third step- Fruits
- Apple
- Banana
- Vegetables
- CarrotTask Lists
Create interactive checklists for to-do items.
- [x] Write documentation
- [x] Push to GitHub
- [ ] Deploy to production
- [ ] Celebrate 🎉Blockquotes
Highlight quoted text or important callouts.
> This is a quote.> "The only way to do great work
> is to love what you do."
>
> — Steve Jobs> Note: Important information
>> Warning: Be careful hereCode Blocks
Display code with optional syntax highlighting.
`const x = 42;````javascript
function greet(name) {
return `Hello, ${name}!`;
}
``````python
def greet(name):
return f"Hello, {name}!"
``````
No language specified
Plain code block
```Tables
Display structured data in rows and columns.
| Name | Role |
|---------|-----------|
| Alice | Developer |
| Bob | Designer || Left | Center | Right |
|:-------|:-------:|-------:|
| L | C | R |
| Text | Text | Text |Horizontal Rules
Add a visual divider between sections.
---***___Line Breaks & Paragraphs
Control spacing and line breaks in your text.
Line one
Line twoParagraph one.
Paragraph two.Line one<br>Line twoEscaping Characters
Display special Markdown characters literally.
\*not italic\*\# Not a heading\[Not a link\](url)Price: \$100Pro Tips
- ⌨️
Use a Live Editor
VS Code, Typora, and Obsidian show real-time previews as you type.
- 🚀
Start Simple
Master headings, bold, italic, and links first. Add tables and code blocks later.
- 📋
Copy Often
Don't memorize syntax. Copy examples from here and modify them.
- ⚠️
Flavors Differ
GitHub, Notion, and Discord have slight variations. Test your syntax there.