风无痕
August 26, 2023
Markdown 指南中文版
- Markdown 入门指南
- Markdown 基本语法
- Markdown 扩展语法
- Markdown 基本语法练习
- Markdown 扩展语法练习
代码
<h3 id="table">表格</h3>| Syntax | Description |
| --- | --- |
| Header | Title |
| Paragraph | Text |#### 对齐| Syntax | Description | Test Text |
| :--- | :---: | ---: |
| Header | Title | Here’s this |
| Paragraph | Text | And more |#### 格式化表格中的文本| Code | Link | Emphasis |
| --- | --- | --- |
| `print(c)` | [百度](www.baidu.com)| **Hold** | *Italic* |### 围栏代码块```markdown
#!/usr/bin/python3def max(a, b):if a > b:return aelse:return ba = 4
b = 5
print(max(a, b))
`` ```#### 语法高亮```python
#!/usr/bin/python3def max(a, b):if a > b:return aelse:return ba = 4
b = 5
print(max(a, b))
`` ```### 脚注这里是一个简单脚注[^1],这里是一个长脚注[^2]。[^1]: 简单脚注很短
[^2]: 长脚注很长,<br>可能会换行## 自定义标题的 ID### 带 ID 的标题 {#custom}[表格](#table "用了 HTML 标签")
[带 ID 的标题](#custom "有些应用不支持")### 删除线~~The world is flat.~~ We now know that the world is round.### 定义列表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.<dl><dt>First Term</dt><dd>This is the definition of the first term.</dd><dt>Second Term</dt><dd>This is one definition of the second term. </dd><dd>This is another definition of the second term.</dd>
</dl>### 任务列表- [x] 早锻炼
- [x] 制订今日计划
- [] 班前背单词(中括号里无空格)
- [ ]午休书法练习(中括号后无空格)
- [ ] 晚上聚餐### 表情符号#### 复制黏贴表情符号我开心😁,我微笑😊#### 使用表情符号简码Gone camping! :tent: Be back soon. That is so funny! :joy:### 高亮I need to highlight these ==very important words==.### 下标H~2~O
H<sub>2</sub>O### 上标X^2^
X<sup>2</sup>### 自动将 URL 转换为链接<http://www.example.com>### 禁止自动将 URL 转换为链接`http://www.example.com`
渲染效果
表格
Syntax | Description |
---|---|
Header | Title |
Paragraph | Text |
对齐
Syntax | Description | Test Text |
---|---|---|
Header | Title | Here’s this |
Paragraph | Text | And more |
格式化表格中的文本
Code | Link | Emphasis |
---|---|---|
print(c) | 百度 | Hold | Italic |
围栏代码块
#!/usr/bin/python3def max(a, b):if a > b:return aelse:return ba = 4
b = 5
print(max(a, b))
语法高亮
#!/usr/bin/python3def max(a, b):if a > b:return aelse:return ba = 4
b = 5
print(max(a, b))
脚注
这里是一个简单脚注1,这里是一个长脚注2。
自定义标题的 ID
带 ID 的标题 {#custom}
表格
带 ID 的标题
删除线
The world is flat. We now know that the world is round.
定义列表
- 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.
- 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.
任务列表
- 早锻炼
- 制订今日计划
- [] 班前背单词(中括号里无空格)
- [ ]午休书法练习(中括号后无空格)
- 晚上聚餐
表情符号
复制黏贴表情符号
我开心😁,我微笑😊
使用表情符号简码
Gone camping! ⛺️ Be back soon. That is so funny! 😂
高亮
I need to highlight these very important words.
下标
H2O
H2O
上标
X2
X2
自动将 URL 转换为链接
http://www.example.com
禁止自动将 URL 转换为链接
http://www.example.com
References
- [1]: Markdown 指南中文版
本作品采用 知识共享署名 4.0 国际许可协议 进行许可。
本文链接:http://t.csdn.cn/RO6k4
简单脚注很短 ↩︎
长脚注很长,
可能会换行 ↩︎