Markdown Syntax Crash Course | Cheat Sheet

Markdown Crash Course

Write faster, format better. The universal syntax for the web.

Basic Syntax

Headers

Markdown
# H1 Heading ## H2 Heading ### H3 Heading

H1 Heading

H2 Heading

H3 Heading

Use # for levels. H1 is usually page title.

Emphasis

Markdown
**Bold Text** *Italic Text* ~~Strikethrough~~

Bold Text Italic Text Strikethrough

Bold for importance, Italic for nuance.

Structure & Lists

Lists

Markdown
- Item A - Item B - Nested Item 1. First Step 2. Second Step
  • Item A
  • Item B
    • Nested Item
  1. First Step
  2. Second Step

Simple bullet points or numbered steps.

Task Lists

Markdown
- [x] Completed task - [ ] Pending task - [ ] Another task
  • Completed task
  • Pending task
  • Another task

Great for tracking progress.

Blockquotes

Markdown
> This is a quote. > It can span multiple lines. Normal text here.

This is a quote. It can span multiple lines.

Normal text here.

Highlight specific content or quotes.

Dividers

Markdown
Section A --- Section B

Section A


Section B

Separate sections visually.

Links & Media

Links

Markdown
[Visit Google](https://google.com) [Read Guide](/guide)

[Text](URL) format.

Images

Markdown
![Alt Text](https://images.unsplash.com/photo-1535591273668-578e31182c4f?w=200&h=100&fit=crop)

Alt Text

Similar to links, but with a ! prefix.

Advanced Formatting

Code Blocks

Markdown
Inline `code` is here. ```javascript function hello() { console.log("Hello World"); } ```

Inline code is here.

function hello() {
  console.log("Hello World");
}

Use backticks for inline, triple backticks for blocks.

Tables

Markdown
| Feature | Status | | :--- | :---: | | Speed | Fast | | Cost | Free |
FeatureStatus
SpeedFast
CostFree

Use pipes | and dashes - to create columns.