Markdown基本语法

2.1 标题

代码:

# 一级标题
## 二级标题
### 三级标题
#### 四级标题
##### 五级标题
###### 最小只有六级标题

效果:

一级标题

二级标题

三级标题

四级标题

五级标题
最小只有六级标题

2.2 加粗

代码:

**哎哟不错哦**

效果:

哎哟不错哦

2.3倾斜

*太难了*

效果:

太难了

2.4 高亮

代码:

==怎么回事呀小老弟==

效果:

怎么回事呀小老弟

2.5 上标

代码:

2^2^

效果:

22

2.6 下标

代码:

CO~2~

效果:

CO2

2.7 代码引用(>式)

代码:

>hei guapi!

效果:

hei guapi!

2.8 代码引用(```式)

代码:

​```print('hei guapi')```

效果:

print('hei guapi')

2.9 代码引入(`式)

代码:

`print('hello guapi')`

效果:

print('hello guapi')

2.10 插入链接(链接显示)

代码:

<https://www.cnblogs.com/nickchen121/p/10821946.html>

效果:

https://www.cnblogs.com/nickchen121/p/10821946.html

2.11 插入链接(链接描述显示)

代码:

[guapi博客](https://www.cnblogs.com/nickchen121/p/10718112.html "guapi博客")

效果:

guapi博客

2.12 插入图片(链接)

代码:

![](https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1564148385198&di=8c80068501a692585f3719b464182dc2&imgtype=0&src=http%3A%2F%2Fimg.redocn.com%2Fsheying%2F20150213%2Fmulanweichangcaoyuanfengjing_3951976.jpg '描述信息')

效果:

2.13 插入图片(图片路径)

代码:

![]()

效果:

2.14 有序列表

代码:

1. one
2. two
3. three

效果:

  1. one
  2. two
  3. three

2.15无序列表

代码:

* one
* two
* three

效果:

  • one
  • two
  • three

2.16 分割线

代码:

---

效果:


2.17表格而且第二行必须的有,并且第二行的冒号代表对齐格式

代码:

one | two | three
:-: | :-: | :-:
yesterday|today|tomorrow
37|38|36

效果:

one two three
yesterday today tomorrow
37 38 36

2.18 数学公式(行内嵌)

代码:

内嵌数学公$\sum_{i=1}^{10}f(i)\,\,\text{thanks}$

效果:

$\sum_{i=1}^{10}f(i),,\text{thanks}$

2.19 数学公式(块状)

代码:

$$
\sum_{i=1}^{10}f(i)\,\,\text{thanks}
$$

效果:
$$
\sum_{i=1}^{10}f(i),,\text{thanks}
$$

posted @ 2019-06-26 19:30  tomjoy  阅读(309)  评论(0编辑  收藏  举报