Hello. { #Somebody }
Basic Syntax of Markdown
안녕하세요. MrSeoul입니다.
마크다운 문법 중 강조(Emphasis)에 대해서 기록합니다
github에서 사용 가능한 문법 기준입니다.
글을 작성하다가 단어 혹은 문단 강조를 하기 위해서 굵게(Bold) 혹은 기울임(Italic)을 많이 사용합니다.
markdown 내에서 Bold / Italic을 사용하는 방법은 아래와 같이 간단합니다.
Bold
문맥 상 강조하고 싶은 곳을 "**" 혹은 "__"로 감싸면 굵게(Bold) 만들 수 있습니다.
* 및 __은 html의 <strong></strong> 태그와 같습니다. (md 파일에서도 html태그를 사용할 수 있습니다.)
[예시]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#### Markdown
I just love **bold text**.
I just love __bold text__.
Love**is**bold
---
#### HTML
I just love <strong>bold text</strong>.
I just love <strong>bold text</strong>.
Love<strong>is</strong>bold
|
cs |
[결과]
단어 사이에 Bold를 사용할 때 가급적 __(underscores)보단 **(asterisks)를 사용하는 것을 권장합니다.
Italic
문맥 상 강조하고 싶은 곳을 "*" 혹은 "_" 로 감싸면 기울임(Italic)을 적용 할 수 있습니다.
* 은 html의 <em></em> 태그와 같습니다. (md 파일에서도 html태그를 사용할 수 있습니다.)
[예시]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#### Markdown
Italicized text is the *cat's meow*.
Italicized text is the _cat's meow_.
A*cat*meow
#### HTML
Italicized text is the <em>cat's meow</em>.
Italicized text is the <em>cat's meow</em>.
A<em>cat</em>meow
|
cs |
[결과]

단어 사이에 Italic 사용할 때 가급적 _(underscore)보단 *(asterisk)를 사용하는 것을 권장합니다.
참고 : markdownguide.org
Basic Syntax | Markdown Guide
The Markdown elements outlined in the original design document.
www.markdownguide.org
Bye. { #Somebody }
'Programming > markdown' 카테고리의 다른 글
[markdown] 마크다운 기본 문법 - 6. Lists : Ordered Lists (0) | 2023.10.22 |
---|---|
[markdown] 마크다운 기본 문법 - 5. 인용 (0) | 2023.10.09 |
[markdown] 마크다운 기본 문법 - 3. Line Breaks (0) | 2023.10.02 |
[markdown] 마크다운 기본 문법 - 2. Paragraphs (0) | 2023.10.01 |
[markdown] 마크다운 기본 문법 - 1. Header (0) | 2023.09.27 |