1.标题
标题共有六级。“#”数量代表标题级数。
- 一级标题
# text - 二级标题
## text - 三级标题
### text - …
2.列表
- 有序列表:
1. text2. text3. text - 无序列表:
* text* text
3.引用
只需要在需要引用的文本前加入 “>” 这种尖括号(大于号)即可。> text
This is a reference.
4.图片与链接
插入链接与插入图片的语法很像,区别在一个”!”号。
- 图片为:
![]() - 链接为:
[]()
My Blog
5.粗体与斜体
在文本前加入**text**,即为粗体, *text*即为斜体。注意,星号间不能有空格。
这是 粗体 ,这是 斜体。
6.分隔线
分隔线只需要三个星号,像这样***。
我上面和下面都是分隔线。
7.表格
| 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 |
8.代码框
代码框只需要用包裹文字即可。用TAB缩进。