📝 Markdown Cheat Sheet

Master Markdown in Minutes

Your comprehensive guide to Markdown syntax and formatting

📌 Basic Syntax

Headings
# Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
Text Formatting
**Bold text** __Also bold__ *Italic text* _Also italic_ ***Bold & Italic*** ~~Strikethrough~~
Bold text
Also bold

Italic text
Also italic

Bold & Italic
Strikethrough

🔗 Links & Images

Links
[Link text](https://example.com) [Link with title](URL "Title") [Reference link][ref] [ref]: https://example.com
Images
![Alt text](image.jpg) ![With title](img.jpg "Title") [![Clickable](img.jpg)](link)
📷 Alt text
📷 Title
📷 Clickable

📝 Lists

Unordered Lists
- Item 1 - Item 2 - Nested item - Another nested - Item 3 * Also works + This too
  • Item 1
  • Item 2
    • Nested item
    • Another nested
  • Item 3
  • Also works
  • This too
Ordered & Task Lists
1. First item 2. Second item 1. Nested 2. Items 3. Third item - [ ] Unchecked - [x] Checked
  1. First item
  2. Second item
    1. Nested
    2. Items
  3. Third item
☐ Unchecked
☑ Checked

💻 Code

Inline & Block Code
`inline code` ```javascript // Code block function hello() { return "World"; } ``` Indented code (4 spaces)
inline code
// Code block
function hello() {
  return "World";
}
Indented code
(4 spaces)
Language Highlighting
```python def greet(name): return f"Hello {name}" ``` ```html

Title

```
def greet(name):
  return f"Hello {name}"
<div class="container">
  <h1>Title</h1>
</div>

📊 Tables

Table Syntax
| Header 1 | Header 2 | Header 3 | |----------|:--------:|---------:| | Left | Center | Right | | Cell 1 | Cell 2 | Cell 3 | Alignment: :--- Left aligned :---: Center aligned ---: Right aligned
Header 1 Header 2 Header 3
Left Center Right
Cell 1 Cell 2 Cell 3

💭 Blockquotes & Horizontal Rules

Blockquotes
> This is a blockquote > Multiple lines > > > Nested blockquote > > With content > > Back to first level
This is a blockquote
Multiple lines

Nested blockquote
With content
Back to first level
Horizontal Rules
Text above --- Text below *** Also works ___
Text above
Text below
Also works

🚀 Advanced Features

HTML & Special Characters
Highlighted Ctrl+C Superscript Subscript Escape: \*not italic\* &copy; &rarr; &hearts;
Highlighted
Ctrl+C
Superscript
Subscript

Escape: *not italic*
© → ♥
Footnotes & Comments
Text with footnote[^1] [^1]: Footnote content Line break: end with two spaces or
Text with footnote1

1 Footnote content

Line break: end with
two spaces or

⌨️ Keyboard Shortcuts

Action Windows/Linux Mac Markdown Syntax
Bold Ctrl + B ⌘ + B **text**
Italic Ctrl + I ⌘ + I *text*
Link Ctrl + K ⌘ + K [text](url)
Code Ctrl + E ⌘ + E `code`
Heading Ctrl + H ⌘ + H ## Heading
List Ctrl + L ⌘ + L - item
Quote Ctrl + Q ⌘ + Q > quote

💡 Quick Tips & Best Practices

✓ Line Breaks End a line with two spaces or use <br> tag for line breaks.
⚡ Escape Characters Use backslash to escape: \*, \#, \_, \[
📝 Nested Lists Use 2 or 4 spaces for indentation in nested lists.
🔗 Reference Links Define links once and reuse them throughout your document.
🎨 Syntax Highlighting Specify language after triple backticks: ```python
📊 Table Alignment Use colons in separator row to align columns.