其他分享
首页 > 其他分享> > MarkDown 语法

MarkDown 语法

作者:互联网

1.Title

title level 1

format:# title level 1

title level 2

format: ## title level 2

...

title level 6
format: ###### title level 6
 

alternative

<h1>Heading</h1>


2. paragraph

/n


 

3. line break

format:

recommend : <br>

not recommend : '\' or 'return'

 


 

4. emphasis

format:

bold

recommend : **Bold text**

not recommend:__Bold text__

italic

recommend:*italic text*

not recommend:_italic text_

both bold and italic

recommend: bold and italic

 


 

5. quote

format: >text

 


 

6. list

format:

ordered list

  1. first item

  2. second item

disordered list

- item

* item

+ item

 


 

7. code

format:

``

or

<code>code</code>

 

code block

` code block

code block`

 


 

8. horizontal line

format:

***

____

---


 

9. link

format: [name](link address "link title")
switch URL or email address into clicked link

<link>

formatting link

**[title](link)

 


 

10. image

format: ![name](link "title")

 

link image

format: [![name](imglink "imgtitle")](link "linktitle")

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

标签:MarkDown,title,text,format,语法,link,recommend,level
来源: https://www.cnblogs.com/kenor/p/14455411.html