introduction to Markdown

Instruction to install Markdown and introduction to the grammars of Markdown

Posted by Yingshan Li on February 8, 2019

Brief introduction

Markdown is a lightweight markup language for creating formatted text using a plain-text editor. John Gruber and Aaron Swartz created Markdown in 2004 as a markup language that is appealing to human readers in its source code form.

Syntax

Heading:

\#First level heading<br/>
\##Second level heading<br/>
\###Third level heading<br/>

Newline:

Add \<br/> to the end of lines

List:

\-scripts1 <br/>
\-scripts2

1. scripts1 <br/>
2. scripts2
\[Text](url)	 <br/>
\[zhihu](http://www.zhihu.com)

Insert picture:

![](url of the picture)

Citation:

\>Content you want to cite. Can be either one line or a paragraph.

Italic and bold:

\*Italic* <br/>
\*\*Bold**

Cite code:

\`cite single line code\`
\`\`\` for multiline code.   

\`\`\` <br/>
multiline code <br/>
multiline code <br/>
multiline code <br/>
```

Table:

dog|bird|cat
----|------|----
foo | foo  | foo
bar | bar  | bar
baz | baz  | baz