본문 바로가기

Aiffel_learning/기본개념

24.05.14 markdown

마크다운 문법

Header

큰제목
This is an H1
=============

작은제목
This is an H1
-------------

글머리(1~6까지 지원, 1이 제일 크고 bold체)
# This is a H1
## This is a H2
### This is a H3
#### This is a H4
##### This is a H5
###### This is a H6

BlockQuote

> This is a first blockqute.
>	> This is a second blockqute.
>	>	> This is a third blockqute.

목록

# 순서있는 목록(내림차순으로 정리됨)
1. 첫번째
2. 두번째
3. 세번째

# 순서없는 목록
* , + , - 혼합해서 사용가능

코드블럭

# 들여쓰기
한 줄 씩 띄우고 작성, tap 되어있는 부분만 code block이 됨

This is a normal paragraph:

    This is a code block.
    
end code block.

# <pre><code>{code}</code></pre> 
<pre>
<code>
코드 솰라솰라
</code>
</pre>

# 코드블럭코드("```")
```python          #이렇게 시작할 때 언어를 선언해서 문법강조 가능
코드솰라솰라
```

줄바꿈

  • <br>
  • 두번 띄어쓰기 후 enter

구분선 (전부 다 같은 구분선을 만듦)

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

링크

[보여줄 이름](http://...link..)

# 외부링크
사용문법: [Title](link)
적용예: [Google](https://google.com, "google link")

# 자동연결
* 외부링크: <http://example.com/>
* 이메일링크: <address@example.com>

강조

# 이태리체   *single asterisks*, _single underscores_
# 볼드체     **double asterisks**, __double underscores__
# 취소선     ~~cancelline~~

이미지 & 동영상 

# 우선, github의 issue에 해당 사진 or 동영상 등록 시 주소생성됨. 해당 주소 긁어서 붙여넣기
# 동영상은 gif 파일이어야함

# 사이즈조절
<img src="/path/to/img.jpg" width="450px" height="300px"></img>
<img width="{해상도 비율}" src="{이미지 경로}"/>  # 동영상일떄

 

https://cutemoomin.tistory.com/entry/Readme-%ED%8C%8C%EC%9D%BC%EC%97%90-%EC%9D%B4%EB%AF%B8%EC%A7%80-%EB%84%A3%EA%B8%B0-%EB%A7%88%ED%81%AC%EB%8B%A4%EC%9A%B4-%EC%9D%B4%EB%AF%B8%EC%A7%80#google_vignette

 

Readme 파일에 이미지 넣기 (마크다운 이미지)

readme.md 파일에 이미지 넣기 gitlab, github 등 readme 파일에 이미지 넣는 방법 1. issues에서 넣고 싶은 이미지를 드래그앤드롭으로 추가하여 경로를 복사한다. 2. Readme.md 파일 편집으로 들어가서 아까

cutemoomin.tistory.com

https://ndb796.tistory.com/557

 

깃허브(GitHub)의 README 파일에 이미지/동영상 올리는 방법

※ 깃허브 README 파일에 마크다운으로 이미지 올리는 법 ※ 깃허브(GitHub)의 README 파일에 이미지(image)를 올리는 것은 간단하다. 먼저 [Issues] 탭으로 이동한 뒤에 하나의 이미지를 업로드한다. 그러

ndb796.tistory.com

동영상 삽입하는 방법도 잘 나와있음!


참고문헌

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

 

마크다운(Markdown) 사용법

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

gist.github.com

 

https://daringfireball.net/projects/markdown/

 

Daring Fireball: Markdown

Markdown Download Markdown 1.0.1 (18 KB) — 17 Dec 2004 Introduction Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid

daringfireball.net

 

 

 

 

'Aiffel_learning > 기본개념' 카테고리의 다른 글

24.05.14 Git과 Github(연결, push, pull, fork 등)  (0) 2024.05.14