개발 - Markdown
표준 문법
Headings
1 | # h1 Heading |
h1 Heading
h2 Heading
h3 Heading
h4 Heading
h5 Heading
h6 Heading
Paragraphs
그냥 평범하게 쓰면 문단으로써 들어감
1 | Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus. Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad. |
Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus. Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.
Breaks
“\n” 이나 <br> 같은 문법이 없으므로 아래와 같이 <hr>선을 그어주는 방식으로 사용
___,---,***
Emphasis
Bold
1 | **굵은 글씨 표기** |
굵은 글씨 표기
Italics
1 | _이탈리안 표기_ |
이탈리안 표기
Blockquotes
Blockquotes(인용)을 하려면 > 사용
1 | > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
Lists
Unordered
*, -, + 모두 같음
1 | * valid bullet |
For example
1 | + Lorem ipsum dolor sit amet |
Renders to:
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Ordered
A list of items in which the order of items does explicitly matter.
1 | 1. Lorem ipsum dolor sit amet |
Renders to:
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Code
Inline code
backtick ` 으로 원하는 부분을 감싸면 됨
# 굵은 글자 inline with other text, just wrap it in backticks.
Fenced code block
backtick 3개 ```로 감싸면 “code fences”라고 부름
(말 만들기 참 좋아함)
1
2
3 # 이렇게 마크다운 형식으로 작성하든
<div>html로 작성하든</div>
text로써 읽힘
Syntax highlighting
원하는 언어를 붙여 ```js 와 같이 작성
1
2 const name = "kyh";
console.log(name);
1 | const name = "kyh"; |
Links
Autolinks
1 | <https://newtype94.github.io> |
Inline links
1 | [Blog](http://newtype94.github.io) |
Link titles
1 | [Blog](http://newtype94.github.io "It is my blog..") |
Named Anchors
markdown 페이지 내에서 서로 이동할 수 있는 일종의 Anchor
1 | # Table of Contents |
1 | ## Chapter 1 <a name="chapter-1"></a> |
Images
1 |  |

또는
1 |  |

또는
1 | ![고양이][id] |

그리고 id에 사진의 링크 정의하여 후술해야함
1 | [id]: /image/고양이.jpg "고양이 링크" |
Raw HTML
< 와 >를 사용하면 자동으로 html의 태그로 인식됨
1 | **제 깃으로 놀러오세요 <a href="https://github.com/newtype94">newtype94</a>.** |
제 깃으로 놀러오세요 newtype94.
backslash 표현
markdown 문법에 사용되는 특수 문자를 따로 표시하고 싶을 때
1 | \*this is not italic* |
*this is not italic*
비표준 문법 (Github, Gitlab 전용)
Strikethrough
1 | ~~Strike through this text.~~ |
Strike through this text.
Todo List
1 | - [ ] Lorem ipsum dolor sit amet |
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
Links in todo lists
1 | - [ ] [foo](#bar) |
Tables
1 | | Option | Description | |
| Option | Description |
|---|---|
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
Aligning cells
가운데 정렬
1 | | Option | Description | |
오른쪽 정렬
1 | | Option | Description | |
