Markdown语法速查
h1 # h1
h2 ## h2
h3 ### h3
h4 #### h4
h5 ##### h5
h6 ###### h6
bold **bold**
italic *italic*
strikethrough ~~strikethrough~~
insert ++insert++
mark ==mark==
horizontal rule ---
quote > quote
- unordered list - unordered list
- ordered list 1. ordered list
-
incomplete task list - [ ] incomplete task list
-
complete task list - [x] complete task list
link [link](http://note.youdao.com/)
![image](http://note.youdao.com/favicon.ico)
code
<?php
echo "PHP";
?>
``` <?php echo "PHP"; ?> ```
table
header 1 | header 2 |
---|---|
row 1 col 1 | row 1 col 2 |
row 2 col 1 | row 2 col 2 |
header 1 | header 2
---|---
row 1 col 1 | row 1 col 2
row 2 col 1 | row 2 col 2
mathmatical formula
```math
E = mc^2
```
flow chart
![](https://images2015.cnblogs.com/blog/981744/201608/981744-20160825121035257-1020998013.png)
```
graph LR
A-->B
```
sequence diagram
![](https://images2015.cnblogs.com/blog/981744/201608/981744-20160825121123538-391134532.png)
```
sequenceDiagram
A->>B: How are you?
B->>A: Great!
```
gantt diagram
![](https://images2015.cnblogs.com/blog/981744/201608/981744-20160825121157647-106307909.png)
``` gantt
dateFormat YYYY-MM-DD
section S1
T1: 2014-01-01, 9d section S2
T2: 2014-01-11, 9d section S3
T3: 2014-01-02, 9d
```
posted on 2016-08-25 12:12 msmailcode 阅读(145) 评论(0) 编辑 收藏 举报