当前位置: 首页 > news >正文

Markdown 扩展语法练习

Markdown 指南中文版

风无痕
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** &#124; *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`

渲染效果

表格

SyntaxDescription
HeaderTitle
ParagraphText

对齐

SyntaxDescriptionTest Text
HeaderTitleHere’s this
ParagraphTextAnd more

格式化表格中的文本

CodeLinkEmphasis
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

WeChat


  1. 简单脚注很短 ↩︎

  2. 长脚注很长,
    可能会换行 ↩︎

http://www.lryc.cn/news/144035.html

相关文章:

  • ubuntu上安装boost库为SOMEIP的X86和ARM下编译做准备(编译两种版本)
  • [NSSCTF 2nd] NSS两周年纪念赛。
  • 【星戈瑞】FITC-PEG-N3在细胞示踪中的应用
  • 【Linux】【驱动】自动创建设备节点
  • 自实现getprocaddress(名称查找或者序号查找)
  • 如何DIY制作干洗店洗护小程序
  • 微前沿 | 第1期:强可控视频生成;定制化样本检索器;用脑电重建视觉感知;大模型鲁棒性评测
  • SQLite数据库C_C++接口(保姆级API应用 1.4W字)(全网最详细介绍,学完必掌握)
  • 倒计时:心理的镇静剂还是焦虑的火种?
  • 迅睿系统二开自定义函数和插件的自定义函数
  • 传统品牌如何通过3D虚拟数字人定制和动捕设备加速年轻化发展?
  • sql:SQL优化知识点记录(五)
  • 1.3 Metasploit 生成SSL加密载荷
  • redis windows 版本安装
  • 限流算法深入
  • java 基础知识 循环的几个题目
  • Spring Boot使用LocalDateTime、LocalDate作为入参
  • 第七周第七天学习总结 | MySQL入门及练习学习第二天
  • 【考研数学】线形代数第三章——向量 | 3)向量组秩的性质、向量空间、过渡矩阵
  • 【技术】SpringBoot Word 模板替换
  • java jni nv21和nv12互转
  • 后端面试话术集锦第二篇:spring boot面试话术
  • Doris中分区和分桶使用教程
  • 电脑不安装软件,怎么将手机文件传输到电脑?
  • vue3 publish 出现的问题
  • 网络防御和入侵检测
  • 【科研论文配图绘制】task5 SciencePlots绘图包入门
  • R语言常用数学函数
  • 公网远程访问局域网SQL Server数据库
  • Apache Celeborn 让 Spark 和 Flink 更快更稳更弹性