라이브 미리보기가 포함된 완전한 Markdown 구문 참조. 표준 Markdown과 GitHub Flavored Markdown(GFM) 확장 기능을 다룹니다.
# Heading 1
H1 — largest heading
# My Title
## Heading 2
H2 — section heading
## Introduction
### Heading 3
H3 — subsection
### Details
#### Heading 4
H4
#### Notes
##### Heading 5
H5
##### Fine print
###### Heading 6
H6 — smallest heading
###### Footnote
Title ======
H1 — setext style (underline with ===)
My Title ========
Title ------
H2 — setext style (underline with ---)
My Section ----------
**bold**
Bold text
**important**
__bold__
Bold text (alternate)
__important__
*italic*
Italic text
*emphasis*
_italic_
Italic text (alternate)
_emphasis_
***bold italic***
Bold and italic
***critical***
~~strikethrough~~
Strikethrough (GFM)
~~deprecated~~
`inline code`
Inline code
`console.log()`
<mark>highlight</mark>
Highlighted text (HTML in MD)
<mark>key point</mark>
- Item - Item - Item
Unordered list (dash)
- Apple - Banana - Cherry
* Item * Item
Unordered list (asterisk)
* Alpha * Beta
+ Item + Item
Unordered list (plus)
+ One + Two
1. First 2. Second 3. Third
Ordered list
1. Step one 2. Step two 3. Step three
1. Item - Sub-item - Sub-item
Nested list (3 spaces indent)
1. Main - Sub A - Sub B
- [ ] Unchecked - [x] Checked
Task list (GFM)
- [ ] Todo - [x] Done
[text](url)
Inline link
[OpenAI](https://openai.com)
[text](url "title")
Link with title tooltip
[GitHub](https://github.com "GitHub")
[text][ref] [ref]: url
Reference-style link
[Google][goo] [goo]: https://google.com
<https://url>
Autolink (bare URL)
<https://example.com>

Inline image


Image with title

[](url)
Linked image
[](https://site.com)
`code`
Inline code
Use `npm install`
``` code ```
Fenced code block
```
console.log('hi')
``````javascript code ```
Syntax highlighted code
```python
print('hello')
```indented code
Code block via 4-space indent
def hello():
pass``code with `backtick` inside``
Double backticks for inline code with backtick
``Use `code` here``
| Col1 | Col2 | |------|------| | A | B |
Basic table (GFM)
| Name | Age | |------|-----| | Ana | 25 |
| Left | Center | Right | |:-----|:------:|------:|
Column alignment (GFM)
| Left | Center | Right | |:-----|:------:|------: | a | b | c |
> Quote text
Blockquote
> To be or not to be.
> Line 1 > Line 2
Multi-line blockquote
> First line > Second line
> Outer > > Nested
Nested blockquote
> Level 1 > > Level 2
> **Note:** text
Styled blockquote with bold
> **Warning:** Be careful!
- [ ] Unchecked task
Unchecked checkbox (GFM)
- [ ] Write tests
- [x] Completed task
Checked checkbox (GFM)
- [x] Deploy app
- [ ] Task - [ ] Subtask
Nested task list
- [ ] Feature - [x] API done - [ ] UI todo
---
Horizontal rule (thematic break)
Section 1 --- Section 2
***
Horizontal rule (3 asterisks)
***
\*escaped\*
Escape Markdown characters with \
\*not bold\*
<br>
Forced line break within paragraph
Line one<br>Line two
Two trailing spaces next line
Hard line break (2 spaces + enter)
First line Second line
<!-- comment -->
HTML comment (hidden in output)
<!-- TODO: fix this -->
~~strikethrough~~
Strikethrough
~~old text~~
https://auto.link
Autolink (bare URL auto-linked)
https://example.com
@username
User mention (GitHub)
@octocat
#123
Issue/PR reference (GitHub)
Fixes #42
SHA reference
Commit SHA reference (GitHub)
a5c3785
```mermaid graph ```
Mermaid diagram (GitHub/GitLab)
```mermaid graph LR A-->B ```
> [!NOTE]
GitHub alerts (NOTE/TIP/WARNING/CAUTION)
> [!WARNING] > Be careful!
표는 GitHub Flavored Markdown(GFM) 확장 기능입니다. '|'를 사용하여 열을 구분하고, 구분 행의 콜론으로 내용을 정렬합니다:|
| Name | Role | Score | |:--------|:---------:|------:| | Alice | Developer | 100 | | Bob | Designer | 95 |
:--- 왼쪽 정렬:---: 가운데 정렬---: 오른쪽 정렬실시간 렌더링으로 Markdown을 작성하고 미리보기및 내보내기 옵션.
Markdown은 2004년 John Gruber가 만든 경량 마크업 언어입니다. 일반 텍스트 형식 구문을 사용하여 HTML을 만듭니다: #제목, **굵게**, *기울임*, [링크], `코드` 등. README 파일, GitHub, Reddit, Slack 및 많은 문서 시스템에서 사용됩니다.
CommonMark는 표준화된 Markdown 명세입니다. GitHub Flavored Markdown(GFM)은 할 일 목록, 표, 취소선, 자동 링크 및 코드 펜스의 구문 강조 표시로 이를 확장합니다. 대부분의 현대 플랫폼은 GFM을 지원합니다.
언어 이름 뒤에 세 개의 백틱을 사용합니다: ```javascript. 지원되는 언어로는 javascript, python, typescript, bash, css, html, json, yaml, sql 등이 있습니다.
문자 앞에 백슬래시를 사용합니다: \*는 *, \_는 _, \`는 `, \#는 #, \[는 [ 등. 이렇게 하면 Markdown이 해당 문자를 서식 구문으로 해석하지 않습니다.