一 段落、标题、代码区块
1.“#”号的个数代表了标题的层级 1~6级
2.“>” 表示了区块的引用 效果如下
区块的引用效果
二 修辞和强调
使用“*”或者“_”来标记需要强调的段落
这是需要强调的 单词
三 列表
- 无序列表 使用 “*”,“+”,“-”来作为列表的项目标记
-
candy
-
numpy
-
pandas
- 有序列表 数字加点 例如 “1.”
四 链接
1 []里面是连接的字 ()里面是连接地址
This is an example link.
2 文献引用的方式
I get 10 times more traffic from Google than from
3 <>里面包含连接地址的形式
五 图片
“![alt text]” 跟上() 里面是图片本地路径
六 代码
1 反引号 “`” 来标记代码区块
I strongly recommend against using any <blink>
tags.
I wish SmartyPants used named entities like —
instead of decimal-encoded entites like —
.
2 每行开头一个tab可以自动添加成代码块
print (i)
七 区块可以嵌套
多个 “>” 即可
This is the first level of quoting.
This is nested blockquote.
Back to the first level.
八 分割线
可以使用三个以上的星号,减号,底线符号来建立分割线 但是同一行不能有其他字符
例如 “***”
九 代码块高亮
```python #对应的语言
import test
```
效果图
import test
print("hello word")
网友评论