Markdown 문법

Wednesday, May 6, 2020

마크다운(markdown)은 일반 텍스트 문서의 양식을 편집하는 문법이다. 특수 기호와 문자를 이용한 매우 간단한 구조의 문법을 사용하여 보다 빠르게 Content를 작성할 수 있다. README 파일이나 온라인 문서, 혹은 일반 텍스트 편집기로 문서 양식을 편집할 때 쓰이며, 마크다운을 이용해 작성된 문서는 쉽게 HTML 등 다른 문서형태로 변환이 가능하다.

1. 헤더 Header


# Head 1
## Head 2
### Head 3
#### Head 4
##### Head 5
###### Head 6

Head 1

Head 2

Head 3

Head 4

Head 5
Head 6

2. 목록 Lists


Unordered list

*   the first unordered list item
*   the second unordered list item
*   the third unordered list item

또는 

+   list1
    -   list2
        +   list3
  • the first unordered list item
  • the second unordered list item
  • the third unordered list item
  • list1
    • list2
      • list3

Ordered list

1.  the first ordered list item
1.  the second ordered list item
1.  I contain an `inline code`
  1. the first ordered list item
  2. the second ordered list item
  3. I contain an inline code

3. indent


Tab or space bar x 4

4. 줄바꿈


문장 마지막 space bar x 3

5. Code block


(“```”)을 시작과 끝에

6. Line


***
*****
* * *
- - -
-----





7. Blockquote


> level 1 
>   > level 2
>   >   > level 3

level 1

level 2

level 3

8. 강조


*single asterisks*   
_single underscores_   
**double asterisks**   
__double underscores__   
~~cancelline~~   

single asterisks
single underscores
double asterisks
double underscores
cancelline

9. Image


![Placeholder](https://via.placeholder.com/768x480)

Placeholder


사용문법: [Title](link)
적용예: [2nd Deck](https://2nd-deck.github.io, "2nddeck link")

Link: 2nd Deck

2nd Deck

Book - 개발자의 글쓰기 / 김철수

Book - Habbit / 웬디 우드