CXD

Code x Design

markdown

Markdown Syntax Reference : markup language with plain text formatting syntax

마크다운(Markdown) 문법, 사용법 정리


마크다운

마크다운(markdown)은 일반 텍스트 문서의 양식을 편집하는 문법이다.

README 파일이나 온라인 문서, 혹은 일반 텍스트 편집기로 문서 양식을 편집할 때 쓰인다.

마크다운을 이용해 작성된 문서는 쉽게 HTML 등 다른 문서형태로 변환이 가능하다.


Markdown is a lightweight markup language with plain text formatting syntax.

It’s designed so that it can be converted to HTML and many other formats using a tool by the same name.

Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.

As the initial description of Markdown contained ambiguities and unanswered questions, many implementations and extensions of Markdown appeared over the years to answer these issues.


heading : h1 ~ h6

텍스트앞에 #을 붙인다
# h1
## h2
### h3
#### h4
##### h5
###### h6

또는

h1
=========

h2
---------

h1

h2

h3

h4

h5
h6

또는

h1

h2


Etalic, Bold, Cancel line / 이탤릭체, 볼드체, 취소선

*이탤릭체 Italic* 
_이탤릭체 Italic_ 

**볼드체 Bold** 
__볼드체 Bold__ 

~~취소선~~ 

이탤릭체 Italic

*볼드체 Bold

취소선


Hr 수평선

---
- - -
***

[linktitle 링크명](lnk url 링크주소)

naver(http://naver.com)


BlockQuote 블럭 인용

> blockquote

blockquote


Class 추가

{:.MyClass}

{:.fake-h2}
This will be styled as a p tag with the css class fake-2

<p class="fake-h2">This will be styled as a p tag with the css class fake-2</p>


list

* {:.done} done - Completed this
* Not done yet


<ul>
    <li class="done">done - Completed this</li>
    <li>Not done yet</li>
</ul>


마크다운 문법 링크 새창으로 열리게 하기 markdown target _blank

Markdown open a new window link


{:target="_blank"}

[text](urllink){:target="_blank"}


youtube


{:.alC.youtube}
[![Video Label](http://img.youtube.com/vi/_CXXVFPO6f0/0.jpg)](https://youtu.be/_CXXVFPO6f0?t=0s){:target="_blank"}


참고 사이트

Written on April 7, 2017

comments powered by Disqus