Woopii Vyeolog

[Github] README.md(Markdown) 작성, 꾸미기 (1.문법 정리) 본문

Git, Github

[Github] README.md(Markdown) 작성, 꾸미기 (1.문법 정리)

WooPii 2023. 11. 30. 14:14

 

 

https://gist.github.com/ihoneymon/652be052a0727ad59601

 

마크다운(Markdown) 사용법

마크다운(Markdown) 사용법. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com


마크다운 문법 정리

파일 확장자명은 '.md'

[//]: # (큰 제목, 작은 제목)
this is Big Header
==================

this is Small Header
--------------------

[//]: # (글머리 크기 조절)
# H1
## H2
### H3
#### H4
##### H5
###### H6

[//]: # (블럭)
> This is a first blockqute.
>	> This is a second blockqute.
>	>	> This is a third blockqute.

[//]: # (목록)
1. 첫번째
2. 두번째
3. 세번째
* 빨강
    * 녹색
        * 파랑

+ 빨강
    + 녹색
        + 파랑

- 빨강
    - 녹색
        - 파랑
* 1단계
    - 2단계
        + 3단계

[//]: # (들여쓰기)
This is a normal paragraph:

    This is a code block.

end code block.

[//]: # (코드블럭)
```
public class BootSpringBootApplication {
  public static void main(String[] args) {
    System.out.println("Hello, Honeymon");
  }
}
```
```java
public class BootSpringBootApplication {
  public static void main(String[] args) {
    System.out.println("Hello, Honeymon");
  }
}
```

[//]: # (수평선)

* * *

***

*****

- - -

---------------------------------------

[//]: # (링크)

[link keyword][id]

[id]: URL "Optional Title here"

// code Link: [Google][googlelink]

[googlelink]: https://google.com "Go google"

사용문법: [Title](link)

적용예: [Google](https://google.com "google Link")

일반적인 URL 혹은 이메일주소인 경우 적절한 형식으로 링크를 형성한다.

* 외부링크: <http://example.com/>
* 이메일링크: <address@example.com>

[//]: # (강조)

*single asterisks*

_single underscores_

**double asterisks**

__double underscores__

~~cancelline~~

[//]: # (이미지)

![Alt text](https://images.chosun.com/resizer/XRQ3clGIV5Cc7Q5yNUssx5bmmqQ=/497x366/smart/cloudfront-ap-northeast-1.images.arcpublishing.com/chosun/3K5SJID7DRN7EYBABD7VQREBPU.jpg "Optional title")

<img src="https://images.chosun.com/resizer/XRQ3clGIV5Cc7Q5yNUssx5bmmqQ=/497x366/smart/cloudfront-ap-northeast-1.images.arcpublishing.com/chosun/3K5SJID7DRN7EYBABD7VQREBPU.jpg" width="450px" height="300px" title="px(픽셀) 크기 설정" alt="RubberDuck"></img><br/>
<img src="https://images.chosun.com/resizer/XRQ3clGIV5Cc7Q5yNUssx5bmmqQ=/497x366/smart/cloudfront-ap-northeast-1.images.arcpublishing.com/chosun/3K5SJID7DRN7EYBABD7VQREBPU.jpg" width="40%" height="30%" title="px(픽셀) 크기 설정" alt="RubberDuck"></img>

[//]: # (줄바꿈)

* 줄 바꿈을 하기 위해서는 문장 마지막에서 3칸이상을 띄어쓰기해야 한다.
  이렇게

* 줄 바꿈을 하기 위해서는 문장 마지막에서 3칸이상을 띄어쓰기해야 한다.   ---   
이렇게

 

 

 

 

 

 

 

 

 

 

Comments