跳转至

速查表

基本语法


元素 语法
标题
Heading
# H1
## H2
### H3
粗体
Blod
** Blod text **
斜体
Ltalic
* italicized text *
引用块
Blockquote
> blockquote
有序列表
Ordered List
1. First item
2.Second item
3.Third item
无序列表
Unordered List
* First item
* Second item
*Third item
代码
Code
`code``
分割线
Horizontal Rule
---
链接
Link
[title](https://www.example.com)
图片
Image
![alt text](image.jpg)

拓展语法


以下的元素为 Markdown 的拓展语法,并非所有 Markdown 解释器都支持这些元素。

元素 语法
表格
Table
| Head | Head |
|:--:|:--:|
| Body | Body |
代码块
Code Block
```
void Function ();
```
脚注
Footnote
Here's a sentence with a footnote.[^1]
[^1]: This is the footnote.
标题编号
Heading ID
### My Great Heading {#custom-id}
定义列表
Definition List
term
: definition
删除线
Strikethrough
~~The world is flat~~
任务列表
Task List
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media

来源


MAShiroSystem 中关于 Markdown 相关文档参考以下网站内容:

Markdown 官方教程