Markdown快速参考
1
2
| *Emphasize* _emphasize_
**Strong** __Strong__
|
1
| A [link](http://example.com "Title").
|
或
1
2
3
| Some text with [a link][1] and another [link][2].
[1]: http://example.com/ "Title"
[2]: http://example.org/ "Title"
|
1
| Logo: ![Alt](/wp.png "Title")
|
或
1
2
| Smaller logo: ![Alt][1]
[1]: /wp-smaller.png "Title"
|
1
2
| I have more [^1] to say up here.
[^1]: To say down here.
|
wordpress不支持双空格换行,只能支持回车换行
或
1
2
3
4
5
| 1. Item
2. Item
* Mixed
* Mixed
3. Item
|
1
2
3
| > Block 1
> Block 2
> Block 3
|
当每行行头空出2个以上空格时则原样输出(不能有命令符)
1
2
3
4
5
6
7
8
9
| ~~~~
This is a
piece of code
in a block
~~~~
```lang
This too
```
|
1
2
3
| ```zsh
# hello world
```
|
1
2
3
4
5
6
| # Header 1
## Header 2
### Header 3
#### Header 4 ####
##### Header 5 #####
###### Header 6 ######
|
1
2
| WordPress
: A semantic personal publishing platform
|
1
2
| Markdown converts text to HTML.
*[HTML]: HyperText Markup Language
|