Markdown 使用手册
1 简介
Markdown 是一种轻量级 标记语言,它允许人们使用易读易写的纯文本格式编写文档,Markdown 文件的后缀名便是 “.md”。
2 常用语法
| Markdown 语法 | 备注 | |
|---|---|---|
| 标题 | # H1## H2###### H6 | 1 标题ID,可用于链接直接定位到标题:# H1 {#headid} |
| 斜体 | *text* | - |
| 粗体 | **text** | - |
| 删除线 | ~~The world is flat.~~ | - |
| 换行 | <br /> | - |
| 分隔线 | --- | - |
| 转义字符 | \ | - |
| 引用块 | > text | - |
| 链接 | [text](https://www.example.com#headid "title")[text](#headid "title") | 1 引用类型:[hobbit-hole][1][1]: https://www.example.com "title"2 网址,Email地址: <https://markdown.com.cn><fake@example.com> |
| 图片 |  | - |
| 图片链接 | [](https://www.example.com#headid) | - |
| 列表 | 有序列表:1. First item2. Second item无序列表: - First item- Second item | 在列表中嵌套其他元素: 缩进一个制表符,上下各空一行 1 引用块: * Here's the second list item.> A blockquote would look great below the second list item.* And here's the third list item.2 代码块: * Here's the second list item.```json{}```* And here's the third list item. |
| 表格 | |Syntax|Description||-:|:-:||>|Title||Header|Title||^|Title| | 1 单元格合并:>:左右合并^:上下合并 |
| 代码 | 1 代码行:`code` 2 代码块: ```jsoncode``` | - |
| 使用 Emoji 表情 | 1. 复制和粘贴表情符号:❤️2. 使用表情符号简码: :cupid: => :cupid: | 1. 表情符号仓库:https://emojipedia.org/zh2. 表情符号简码列表: https://gist.github.com/rxaviers/7360908 |