Markdown 语法

Markdown

标题 文字

# 一级标题 H1

## 二级标题 H2

### 三级标题 H3

#### 四级标题 H4

**这是加粗的文字**
*这是倾斜的文字*`
***这是斜体加粗的文字***
~~这是加删除线的文字~~

eg:

一级标题 H1

二级标题 H2

三级标题 H3

四级标题 H4

这是加粗的文字
这是倾斜的文字`
这是斜体加粗的文字
这是加删除线的文字

兼容 HTML

<table>
    <tr>
        <td>Foo</td>
<td>Foo1</td>
    </tr>
</table>
``
eg:<table>
    <tr>
        <td>Foo</td>
        <td>Foo1</td>
    </tr>
 <tr>
        <td>Foo2</td>
        <td>Foo3</td>
    </tr>
</table>

##区块引用

This is the first level of quoting.

This is nested blockquote. 区块嵌套

Back to the first level.

这是一个标题。

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

给出一些例子代码:

return shell_exec("echo $input | $markdown_script");
eg:
 This is the first level of quoting.
>
> > This is nested blockquote.
>
> Back to the first level.


> ## 这是一个标题。
> 
> 1.   这是第一行列表项。
> 2.   这是第二行列表项。
> 
> 给出一些例子代码:
> 
>     return shell_exec("echo $input | $markdown_script");
##链接

map/reduce

##图片

posted @ 2019-04-29 17:01  sunny_xyj  阅读(140)  评论(0编辑  收藏  举报