markdown语法

这是 H1 #

这是 H2 ##

这是 H3 ###

区块

  1. 这是第一行列表项。
  2. 这是第二行列表项。

给出一些例子代码:

return shell_exec("echo $input | $markdown_script");

列表

  • Red
  • Green
  • Blue
  1. Bird
  2. McHale
  3. 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.

Google

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.

http://example.com/

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容