Markdown Cheat Sheet

This cheat sheet provides a quick reference for the most commonly used Markdown syntax elements. Use it as a handy guide while writing your Markdown documents.

Basic Syntax

ElementMarkdown Syntax
Heading 1# Heading 1
Heading 2## Heading 2
Heading 3### Heading 3
Bold**bold text**
Italic*italic text*
Bold & Italic***bold & italic***
Strikethrough~~strikethrough~~
Unordered List- List item
- Another item
Ordered List1. First item
2. Second item
Link[Link text](URL)
Image![Alt text](image.jpg)
Inline Code`code`
Blockquote> Blockquote text
Horizontal Rule--- or *** or ___
Line BreakEnd a line with two spaces

Extended Syntax

ElementMarkdown Syntax
Table| Header | Header |
|--------|--------|
| Cell | Cell |
Aligned Table| Left | Center | Right |
|:-----|:------:|------:|
| Cell | Cell | Cell |
Task List- [ ] Task
- [x] Done
Fenced Code Block```language
code block
```
FootnoteText[^1]
[^1]: Footnote
Definition ListTerm
: Definition
Mermaid Diagram```mermaid
graph TD
A --> B
```
Math Equation$E = mc^2$
Emoji:smile: :heart:
Highlight==highlighted text==
SubscriptH~2~O
SuperscriptX^2^

Quick Reference Examples

Basic Document Structure

# Main Title
## Section 1
Content goes here...

## Section 2
- List item 1
- List item 2

> Important note here

Advanced Formatting

| Feature | Support |
|---------|---------|
| Tables  | ✅      |
| Lists   | ✅      |
| Code    | ✅      |

- [ ] Task 1
- [x] Task 2

:smile: Happy coding!

Tips & Tricks

  • Use **#** for headings (1-6 levels)
  • Use ****** or **__** for bold text
  • Use *** or **_ ** for italic text
  • Use **`** for inline code
  • Use **```** for code blocks with syntax highlighting
  • Use **>** for blockquotes
  • Use **-** or *** for unordered lists
  • Use **1.** for ordered lists
  • Use **---** for horizontal rules
  • Use **[text](url)** for links
  • Use **![alt](url)** for images