1.标题
在文字前加#(#个数可以使1-6个,个数不同,标题级别不同)
用户管理(二级标题)
三级标题
六级标题
2.代码块(代码引用)
语法:
``` 代码对应的语言
被引入的代码块
```
以下是if语句应用实例
age = 10
if age >= 18:
print('成年')
else:
print('未成年')
3.文字效果
3.1引用效果
语法:
`被引用的文字`
今天的天气很好,我来千峰
学Python。
3.2加粗和倾斜
语法:
**加粗**
快捷键:command+B
*倾斜*
快捷键:command+I
***倾斜又加粗***
没有快捷键
今天的天气很好,我来千峰学Python。
3.3加HTML代码(了解)
markdown语法可以兼容HTML语法
今天的<font style='color:red;'>天气</font>很好,我来千峰学Python。
<center>天的<center>
</center>
</center>
4.列表
4.1无序列表
语法:
+ 列举元素
- 列举元素
4.2有序列表
5.图片!
语法:


6.超链接
语法:
[点击的文字](点击后需要跳转的地址)
想要了解详情, 请进入Python官网
7.表格
语法:
|表头1|表头2|表头3|表头4|
|----|:--:|---:|
|左对齐|居中|右对齐|
姓名 | 性别 | 年龄 | 籍贯 | 专业 | |
---|---|---|---|---|---|
张 | 帅 | 1 | 1 | 1 | |
8.流程图代码
st=>start: 开始
op=>operation: My operation
cond=>condition: Yes or No
e=>end
st->op->cond
cond(yes)->e
cond(no)->op
st=>start: 开始
op=>operation: My operation
cond=>condition: Yes or No
e=>end
st->op->cond
cond(yes)->e
cond(no)->op
网友评论