markdown 语法

markdown语法官网介绍

标题 headings

3级标题

4级

1-6级

level1

level 2

  • 段落 paragraphs

用空行分隔

  • 分行 line breaks

行末用2到多个空格

  • 重点 emphasis

bold test 加粗
同上
italis 斜体
同上
混搭,加粗和斜体
ok
fjsdafja

  • 块引用
    >

这是快引用

多行块引用

>
>
>> 嵌套引用 
> ### 引用里支持其他所有标记
  • lists
    ordered lists
1. 
1. 
1. 
4. 与数字无关

unorderd lists

- 
- 
* 
+ 在中间插入段落或引用等,要空行,缩进也一直即可
  • code
```code block```
`code` denote a word or phrase as code 

zheshi this is code same as zheshi

  • images
1.  Open the file containing the Linux mascot.
2.  Marvel at its beauty.

    ![Tux, the Linux mascot](/assets/images/tux.png)

3.  Close the file.

  • 水平线 *** 或 ---

  • 链接 links
my favorite links is [hello](www.baidu.com "title")

my favorite links is _**[hello](www.baidu.com "title")**_

to quick turn a url or email address into a link , enclose it in angle brackets.

<fake@some.cn>

<http:www.le.me>

my favorite links is hello

my favorite links is hello

to quick turn a url or email address into a link , enclose it in angle brackets.

fake@some.cn

http:www.le.me

  • linking images
[![An old rock in the desert](/assets/images/shiprock.jpg "Shiprock, New Mexico by Beau Rogers")](https://www.flickr.com/photos/beaurogers/31833779864/in/photolist-Qv3rFw-34mt9F-a9Cmfy-5Ha3Zi-9msKdv-o3hgjr-hWpUte-4WMsJ1-KUQ8N-deshUb-vssBD-6CQci6-8AFCiD-zsJWT-nNfsgB-dPDwZJ-bn9JGn-5HtSXY-6CUhAL-a4UTXB-ugPum-KUPSo-fBLNm-6CUmpy-4WMsc9-8a7D3T-83KJev-6CQ2bK-nNusHJ-a78rQH-nw3NvT-7aq2qf-8wwBso-3nNceh-ugSKP-4mh4kh-bbeeqH-a7biME-q3PtTf-brFpgb-cg38zw-bXMZc-nJPELD-f58Lmo-bXMYG-bz8AAi-bxNtNT-bXMYi-bXMY6-bXMYv)

An old rock in the desert

  • escaping characters 防止转义
    *这就是*

  • table

| Syntax | Description |
| ----------- | ----------- |
| Header | Title |
| Paragraph | Text |

Syntax Description
Header Title
Paragraph Text
  • todo
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
  • [x] Write the press release

  • [ ] Update the website

  • [ ] Contact the media

  • 文字划线
    ~~The world is flat.~~
    The world is flat.

接口文档示例

接口简介
接口详情

请求地址
请求方法
请求参数
正确json示例
错误json示例
备注说明 无

原文地址:https://www.cnblogs.com/bruspawn/p/11436684.html