markdown语法
2017-04-27 本文已影响3人
逗比punk
这是 H1 #
这是 H2 ##
这是 H3 ###
区块
- 这是第一行列表项。
- 这是第二行列表项。
给出一些例子代码:
return shell_exec("echo $input | $markdown_script");
列表
- Red
- Green
- Blue
- Bird
- McHale
- Parish
-
This is a list item with two paragraphs.
This is the second paragraph in the list item. You're
only required to indent the first line. Lorem ipsum dolor
sit amet, consectetuer adipiscing elit. -
Another item in the same list.
1986. What a great season.
这是一个普通段落:
这是一个代码区块。
© 2004 Foo Corporation
This is an example inline link.
This link has no title attribute.
I get 10 times more traffic from Google than from
Yahoo or MSN.
I get 10 times more traffic from Google
than from Yahoo or
MSN.
single asterisks
single underscores
double asterisks
double underscores
Use the printf()
function.
![](/path/to/img.jpg)
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |