一、标题设置
代码:
# 一级
## 二级
### 三级
#### 四级
##### 五级
###### 六级
Headline1
===
Headline2
---
显示效果:
一级
二级
三级
四级
五级
六级
Headline1
Headline2
二、链接与图片
代码:
[百度](http://www.baidu.com)
[Google](http://www.google.com)
![Deemo](http://upload-images.jianshu.io/upload_images/454261-348b9532d91c7646.jpeg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
三、代码与引用
代码:
#include <iostream>
using namespace std;
void main()
{
int a = 0;
float b = 1.0;
char c = 'm';
return (float)(a+b);
}
引用:
>quote 1
>>quote 2
> quote 3
>> quote 4
quote 1
quote 2
quote 3
quote 4
四、加粗与倾斜
代码:
__1__ , **2** , _3_ , *4*
显示:
1 , 2 , 3 , 4
五、表格
代码:
|No.|Name|IP|Support|
|---:|:---:|:---|:---:|
|1|Ark|192.168.253.5|Y|
|2|Void|127.0.0.1|N|
|3|Beast|192.168.33.65|Y|
显示:
No. | Name | IP | Support |
---|---|---|---|
1 | Ark | 192.168.253.5 | Y |
2 | Void | 127.0.0.1 | N |
3 | Beast | 192.168.33.65 | Y |
六、列表(无序与有序列表)
代码:
+ animal
- human
- monkey
- lion
+ plant
- flower
- grass
3. red
2. green
9. blue
12884774. yellow
显示:
- animal
- human
- monkey
- lion
- plant
- flower
- grass
- red
- green
- blue
- yellow
七、流程图(简书不支持)
代码:
st=>start: Start
e=>end: End
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes or No?
io=>inputoutput: catch something...
st->op1->cond
cond(yes)->io->e
cond(no)->sub1(right)->op1
显示:
st=>start: Start
e=>end: End
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes or No?
io=>inputoutput: catch something...
st->op1->cond
cond(yes)->io->e
cond(no)->sub1(right)->op1