基本语法
标题 (Heading)
# h1
## h2
### h3
head level 1
============
head level 2
------------
加粗 (Bold)
**bold text**
__bold text__
斜体 (Italic)
*italicized text*
_italicized text_
引用 (Blockquote)
> blockquote
有序列表 (Ordered List)
1. First item
1. Nested first item
2. Nested second item
2. Second item
无序列表 (Unordered List)
- First item
- Second item
- Third item
* First item
* Second item
* Third item
+ First item
+ Second item
+ Third item
嵌入代码 (Inline Code)
`code`
水平分割线 (Horizontal Rule)
---
链接 (Link)
[title](https://www.example.com)
[in document link](#heading)
<http://raw.http.link>
<raw@mail.link>
[reference style link][1]
[1]: <https://not.supported.in.all.editor>
图片 (Image)


增强的语法
Tips
增强的语法并不是所有的 markdown render 都支持,使用时需要注意。
表格 (Table)
| Syntax | Description |
| --------- | --------------- |
| Header | Title |
| Paragraph | Text <br> Text1 |
align text in table
| Syntax | Description | Test Text |
| :-------- | :---------: | ----------: |
| Header | Title | Here's this |
| Paragraph | Text | And more |
代码块 (Code Block)
```json
{
"firstName": "John",
"lastName": "Smith",
"age": 25
}
```
脚注 (Footnote)
Here's a sentence with a footnote. [^1]
[^1]: This is the footnote.
标题ID (Heading ID)
### My Great Heading {#custom-id}
定义列表 (Definition Lists)
First Term
: This is the definition of the first term.
Second Term
: This is one definition of the second term.
: This is another definition of the second term.
删除线 (Strikethrough)
~~The world is flat.~~
任务清单 (Task List)
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
表情 (Emoji)
That is so funny! :joy:
高亮 (Highlight)
I need to highlight these ==very important words==.
上下标 (Superscript/Subscript)
X^2^
H~2~O
对于不支持的 markdown 程序,可以直接使用内嵌 html 的方式实现。
X<sup>2</sup>
H<sub>2</sub>O