티스토리 뷰

TIL

TIL 220813 md 파일 문법 (Markdown)

2021bong 2022. 8. 15. 01:01

제목 ( Headings )

hn태그처럼 크기별로 사용할 수 있다.

# heading1
## heading2
### heading3
#### heading4
##### heading5
###### heading6

 

인용 ( Quoting text )

 >를 사용해서 인용구를 사용할 수 있다. >>으로 중첩도 가능하다.

Sample Text

> Sample Text
>
>> Sample Text

 

코드 강조 ( Quoting code )

백틱(`)을 사용해서 코드를 강조 할 수 있다.

Sample Text Code

// 인라인 강조
`Sample` Text Code

// 블럭 강조
```
Sample Text Code
```

 

링크 ( Links )

[글자](링크)를 사용해 링크를 만들 수 있다.

[blog link](https://2021bong.tistory.com)

 

이미지( image )

![alt text](링크)를 사용해 넣을 수 있다.

![This is image](https://docs.github.com/assets/cb-319648/images/help/writing/image-rendered.png)

 

목록 ( Lists )

-나 *를 사용해 목록을 만들 수 있다. 번호도 가능하다.

- list1
- list2

1. list1
2. list2

 

목록 들여쓰기 ( Nested Lists )

스페이스를 5번 띄어서 중첩된 목록을 만들 수 있다. 여러번도 가능하다.

- list1
     - nested list1
     - nested list2
          - nested list3
          - nested list4

 

할 일 목록 ( Task lists )

체크 리스트를 만들 수 있다. 스페이스를 하면 안되고 붙여서 해야한다. [x] 체크 [] 미체크

[x] to do 1
[] to do 2
[] to do 3

 

위 문법들을 서로 섞어서 다양하게 사용가능하다. 

리스트 + 인용, 링크 + 이미지

728x90
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/07   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
글 보관함