목차
- 제목 글씨 크기 : #
- 문단 나누기
- 줄 바꾸기
- 볼드체 : **text**, __text__
- 기울림체 : *text*, _text_
- 볼드체&기울림체 : ***text***, ___text___
- 인용문 두 줄 이상
- 인용문 속 인용문
- 인용문 안에 문단 만들기
- 순서 있는 리스트 만들기 : 숫자 기입
- 순서 없는 리스트 만들기 : -, *, +
- 인용구
- 링크
Markdown
<제목 글씨 크기>
Markdown | HTML | 출력 예시 | 주의점 |
# Heading level 1 | <h1>Heading level 1</h1> |
제목 레벨 1 |
#Hi ❌ # Hi ✅ (#) 뒤에 띄어쓰기 꼭 해주세요 |
## Heading level 2 | <h2>Heading level 2</h2> |
제목 레벨 2 |
|
### Heading level 3 | <h3>Heading level 3</h3> |
제목 레벨 3 |
|
#### Heading level 4 | <h4>Heading level 4</h4> |
제목 레벨 4 |
|
##### Heading level 5 | <h5>Heading level 5</h5> | 제목 레벨 5 | |
###### Heading level 6 | <h6>Heading level 6</h6> | 제목 레벨 6 |
<문단 나누기>
<p>,</p>
Markdown | HTML | 출력 예시 |
I really like using Markdown. I think I'll use it to format all of my documents from now on. |
<p>I really like using Markdown.</p> <p>I think I'll use it to format all of my documents from now on.</p> |
I really like using Markdown. I think I'll use it to format all of my documents from now on. |
<줄 바꿈>
<br>
Markdown | HTML | 출력 예시 | 주의점 |
This is the first line. And this is the second line. |
<p>This is the first line.<br> And this is the second line.</p> |
이게 첫 번째 줄이에요. 그리고 이게 두 번째 줄이에요. |
<br> 뒤에 띄어쓰기 두 번! |
<볼드체>
<strong>,</strong>
**text**, __text__
Markdown | HTML | 출력 예시 |
I just love **bold text**. | I just love <strong>bold text</strong>. | I just love bold text. |
I just love __bold text__. | I just love <strong>bold text</strong>. | I just love bold text. |
Love**is**bold | Love<strong>is</strong>bold | Loveisbold |
<기울림체>
<em>,</em>
*text*,_text_
Markdown | HTML | 출력 예시 |
Italicized text is the *cat's meow*. | Italicized text is the <em>cat's meow</em>. | Italicized text is the cat’s meow. |
Italicized text is the _cat's meow_. | Italicized text is the <em>cat's meow</em>. | Italicized text is the cat’s meow. |
A*cat*meow | A<em>cat</em>meow | A cat meow |
<볼드체&기울림체>
<em><strong>,</strong></em>
***text***, ___text___
Markdown | HTML | 출력 예시 |
This text is ***really important***. | This text is <em><strong>really important</strong></em>. | This text is really important. |
This text is ___really important___. | This text is <em><strong>really important</strong></em>. | This text is really important. |
This text is __*really important*__. | This text is <em><strong>really important</strong></em>. | This text is really important. |
This text is **_really important_**. | This text is <em><strong>really important</strong></em>. | This text is really important. |
This is really***very***important text. | This is really<em><strong>very</strong></em>important text. | This is reallyveryimportant text. |
<인용문 두 줄 이상>
> Dorothy followed her through many of the beautiful rooms in her castle.
>
> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
<인용문 안에 인용문>
> Dorothy followed her through many of the beautiful rooms in her castle.
>
>> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
<인용문 안에 문단 만들기>
> #### The quarterly results look great!
>
> - Revenue was off the chart.
> - Profits were higher than ever.
>
> *Everything* is going according to **plan**.
<순서 있는 리스트 만들기>
<ol>
<li>,</li> ⬅️ 이게 번호를 뜻함
</lo>
Markdown | HTML | 출력 예시 |
1. First item 2. Second item 3. Third item 4. Fourth item |
<ol> <li>First item</li> <li>Second item</li> <li>Third item</li> <li>Fourth item</li> </ol> |
|
1. First item 1. Second item 1. Third item 1. Fourth item |
<ol> <li>First item</li> <li>Second item</li> <li>Third item</li> <li>Fourth item</li> </ol> |
|
1. First item 8. Second item 3. Third item 5. Fourth item |
<ol> <li>First item</li> <li>Second item</li> <li>Third item</li> <li>Fourth item</li> </ol> |
|
1. First item 2. Second item 3. Third item 1. Indented item 2. Indented item 4. Fourth item |
<ol> <li>First item</li> <li>Second item</li> <li>Third item <ol> <li>Indented item</li> <li>Indented item</li> </ol> </li> <li>Fourth item</li> </ol> |
|
<순서없는 리스트 만들기>
<ul>
<li></li> ⬅️ 이게 원을 뜻함
</ul>
-, *, +
Markdown | HTML | 출력 예시 |
- First item - Second item - Third item - Fourth item |
<ul> <li>First item</li> <li>Second item</li> <li>Third item</li> <li>Fourth item</li> </ul> |
|
* First item * Second item * Third item * Fourth item |
<ul> <li>First item</li> <li>Second item</li> <li>Third item</li> <li>Fourth item</li> </ul> |
|
+ First item + Second item + Third item + Fourth item |
<ul> <li>First item</li> <li>Second item</li> <li>Third item</li> <li>Fourth item</li> </ul> |
|
- First item - Second item - Third item - Indented item - Indented item - Fourth item |
<ul> <li>First item</li> <li>Second item</li> <li>Third item <ul> <li>Indented item</li> <li>Indented item</li> </ul> </li> <li>Fourth item</li> </ul> |
|
<인용구>
* This is the first list item.
* Here's the second list item.
> A blockquote would look great below the second list item.
* And here's the third list item.
<링크>
I love supporting the **[EFF](https://eff.org)**.
This is the *[Markdown Guide](https://www.markdownguide.org)*.
See the section on [`code`](#code).
'함수 정리 > Markdown' 카테고리의 다른 글
[Markdown] Sample Syntax (4) | 2024.12.14 |
---|