markdown-demo

markdown常用标记

Markdown 是一种轻量级标记语言,创始人为约翰·格鲁伯(John Gruber)。它允许人们“使用易读易写的纯文本格式编写文档,然后转换成有效的XHTML(或者HTML)文档”。这种语言吸收了很多在电子邮件中已有的纯文本标记的特性。

 

下面是常用的markdown语法标记

标题

### h3
#### h4

 

列表

– chinese
– english

1. item1
2. item2
3. item3

 

引用

He said:
> Truly I tell you, unless you change and become like little children,
you will never enter the kingdom of heaven

 

分隔线

————

[========]

 

复选框

– [ ] read book
– [x] shopping

 

数学公式

$$E=mc^2$$

 

代码

“`sql
select * from articles limit 1;
“`

 

表格

| name | age | sex |
| – | – |
| Allen | 25 | M |
| Jame | 20 | F |

 

链接和图片

[Google](http://google.com “Google”)

[![Google Logo](https://www.google.com.sg/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png “Google Logo”)](http://google.com “Google Logo”)

 

markdown-demo
markdown-demo
%1 $ S

发表回复