카테고리 없음
MarkDown 사용법
bellaah
2019. 7. 18. 16:35
마크다운(MarkDown)이란?
일반 텍스트 기반의 마크업 언어로 README.md 파일이나 온라인 문서, 혹은 일반 텍스트 편집기로 문서 양식을 편집할 때 쉽게 쓰고 읽을 수 있으며 HTML로 변환이 가능하다.
확장자가. md인 파일을 말한다.
마크다운 문법(사용법)
1. 헤더(Header)
# This is a H1
## This is a H2
## This is a H3
This is a H1
This is a H2
This is a H3
2. 인용문(Blockquotes)
text1
> text2
> > text3
text1
text2
text3
3.목록(List)
* Item 1
* Item 2
* Item 2-1
* Item 2-2
1. Item 1
1. Item 2
1. Item 2-1
1. Item 2-2
- Item 1
- Item 2
- Item 2-1
- Item 2-2
- Item 1
- Item 2
- Item 2-1
- Item 2-2
4. 코드 블록(CodeBlocks)
```javascript
function test() {
console.log("hello world!");
}
```
5. 강조(Emphasis)
_This text will be italic_
_This will also be italic_
**This text will be bold**
**This will also be bold**
This text will be italic
This will also be italic
This text will be bold
This will also be bold
6. 수평선(hr)
---
***
___
7. 인라인 코드(Inline code)
문단 중간에 `Code`를 넣을 수 있습니다.