# Markdown 빠른 참조

*제목, 링크, 이미지, 코드 블록, 표*

> Source: CommonMark Spec (commonmark.org) · MIT

## 제목

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

## 강조

### 굵게 및 기울임

| Command | Description |
|---------|-------------|
| `*italic* or _italic_` | 기울임 텍스트 |
| `**bold** or __bold__` | 굵은 텍스트 |
| `***bold italic***` | 굵은 기울임 |
| `~~strikethrough~~` | 취소선 (GFM) |

## 목록

### 순서 없는 목록

```
- Item one
- Item two
  - Nested item
  - Another nested
- Item three
```

### 순서 있는 목록

```
1. First item
2. Second item
   1. Nested ordered
   2. Another nested
3. Third item
```

## 링크 및 이미지

| Command | Description |
|---------|-------------|
| `[text](url)` | 인라인 링크 |
| `[text](url "title")` | 호버 타이틀이 있는 링크 |
| `[ref][id] / [id]: url` | 참조 스타일 링크 |
| `<https://example.com>` | 자동 링크 |
| `![alt](image.png)` | 이미지 |
| `![alt](img "title")` | 타이틀이 있는 이미지 |
| `[![alt](img)](url)` | 링크된 이미지 |

## 코드

### 인라인 및 펜스 블록

```
Use `inline code` in a sentence.

```python
def greet(name):
    return f"Hello, {name}!"
```

```javascript
const greet = (name) => `Hello, ${name}!`;
```
```

*구문 강조를 위해 ``` 뒤에 언어를 지정하세요*

### 들여쓰기 코드 블록

```
Indent 4 spaces
for a code block
(no syntax highlighting)
```

## 인용구

```
> This is a blockquote.
>
> It can span multiple paragraphs.

> Nested blockquotes:
>> Second level
>>> Third level
```

## 표 (GFM)

```
| Left   | Center  | Right  |
|--------|:-------:|-------:|
| cell 1 | cell 2  | cell 3 |
| cell 4 | cell 5  | cell 6 |
```

*: 로 정렬 제어 — 왼쪽 (기본), 가운데, 오른쪽*

## 작업 목록 (GFM)

```
- [x] Completed task
- [ ] Incomplete task
- [ ] Another to-do
```

## 수평선

```
---
***
___
```

*세 개 이상의 하이픈, 별표, 또는 밑줄*

## 이스케이프

### 백슬래시 이스케이프

```
\*not italic\*
\# not a heading
\[not a link\]
```

### 이스케이프 가능한 문자

| Command | Description |
|---------|-------------|
| `\  `  *  _` | 백슬래시, 백틱, 별표, 밑줄 |
| `{}  []  ()` | 중괄호, 대괄호, 소괄호 |
| `#  +  -  .` | 해시, 플러스, 하이픈, 마침표 |
| `!  \|` | 느낌표, 파이프 |
