Reference

Markdown Cheat Sheet

Quick reference for all markdown syntax. Search or scroll to find what you need.

Headings

Heading 1

# Heading 1

Heading 2

## Heading 2

Heading 3

### Heading 3

Heading 4

#### Heading 4

Text Formatting

Bold

**bold text**

Italic

*italic text*

Bold & Italic

***bold and italic***

Strikethrough

~~strikethrough~~

Inline Code

`inline code`

Highlight

==highlighted==

Lists

Unordered List

- Item 1
- Item 2
  - Nested item

Ordered List

1. First
2. Second
3. Third

Task List

- [x] Done
- [ ] Todo
- [ ] In progress

Links & Images

Link

[Link text](https://example.com)

Link with Title

[Text](https://example.com "Title")

Image

![Alt text](image-url.jpg)

Auto Link

https://example.com

Code

Inline Code

`const x = 42`

Code Block

```javascript
function hello() {
  console.log("Hi!");
}
```

Code Block (no lang)

```
plain code block
```

Blockquotes & Rules

Blockquote

> This is a quote

Nested Quote

> Level 1
>> Level 2

Horizontal Rule

---

Tables

Basic Table

| Column 1 | Column 2 |
|----------|----------|
| Cell 1   | Cell 2   |
| Cell 3   | Cell 4   |

Aligned Table

| Left | Center | Right |
|:-----|:------:|------:|
| L    |   C    |     R |

Mermaid Diagrams

Flowchart

```mermaid
graph TD
    A[Start] --> B{Decision}
    B -->|Yes| C[OK]
    B -->|No| D[End]
```

Sequence Diagram

```mermaid
sequenceDiagram
    Alice->>Bob: Hello
    Bob-->>Alice: Hi!
```

Pie Chart

```mermaid
pie title Languages
    "JS" : 45
    "Python" : 30
    "Rust" : 15
    "Go" : 10
```