Markdown常用语法记录

2016-08-17  本文已影响53人  RichyLeo

共有6级标题

标题1

标题2

标题3

标题4

标题5
标题6

</br>

# 标题1
## 标题2
### 标题3
#### 标题4
##### 标题5
###### 标题6

无序列表

- 文本1
- 文本2
- 文本3

有序列表

  1. 文本1
  2. 文本2
    2.1 二级列表1
    2.2 二级列表2
  3. 文本3
1. 文本1
2. 文本2
2.1 二级列表1
2.2 二级列表2
3. 文本3

链接

百度

[百度](https://baidu.com)

图片

团队微信公众号
![团队微信公众号](https://img.haomeiwen.com/i193353/9c8b7523d8879d37.jpg)

引用

且行且珍惜
write the code, change the word!

> 且行且珍惜
> write the code, change the word!

粗体和斜体

正常文字
斜体
粗体

正常文字
*斜体*
**粗体**

表格

这里不介绍了,感觉表格显示效果太丑了。通过下边表格写法起个提示作用:

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 |

代码片段

int a = 10;
if(yes){
  printf("关注微信公众号,更多优质文章来袭...");
}
上一篇 下一篇

猜你喜欢

热点阅读