Markdown常用语法(练习)

2017-07-17  本文已影响0人  麦麦麦麦子

一级标题

二级标题

三级标题

四级标题

五级标题
六级标题

无序列表

有序列表

1.列表项1
2.列表项2
3.列表项3
4.列表项4

链接和图片

百度

引用

风生水起靠自己,Live the life, live my life!

诗的引用

锄禾日当午,
汗滴禾下土。
谁知盘中餐,
粒粒皆辛苦。

粗体和斜体

风生水起靠自己Live the life, live my life.

代码的引用(撇号的输入:英文输入法,按键盘左上角的~键即可)

单行代码的引用

hello world

多行代码的引用

第一行代码
第二行代码
第三行代码

表格

相关代码
| Tables        | Are           | Cool         |
| -------------- |:------------:| ------:|
| col 3 is       | right-aligned | $1600  | 
| col 2 is       | centered       | $12      |
| zebra stripes | are neat | $1 |

显示效果
Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1
相关代码
| cat | dog | bird |
| ---- | ---- | ---- |
| foo | foo | foo |
| bar | bar | bar |
| baz | baz | baz |  
显示效果
cat dog bird
foo foo foo
bar bar bar
baz baz baz

显示链接中带括号的图片(?这两者有什么区别吗)

相关代码1
![][1]
[1]: http://latex.codecogs.com/gif.latex?\prod%20\(n_{i}\)+1
显示效果1

![][1]
[1]: http://latex.codecogs.com/gif.latex?\prod%20(n_{i})+1

相关代码2

![](http://latex.codecogs.com/gif.latex?\prod%20\(n_{i}\)+1)

显示效果2
上一篇 下一篇

猜你喜欢

热点阅读