Markdown语法参考手册

Markdown 是一种轻量级标记语言,它允许人们使用易读易写的纯文本格式编写文档,Markdown文件的后缀名便是“.md”。

参考教程: https://markdown.com.cn/

基本语法

标题:
# H1
## H2
### H3
#### H4
##### H5
###### H6

粗体:
**bold text**

斜体:
*italicized text*

引用块:
> blockquote

有序列表:
1. First item
2. Second item
3. Third item

无序列表:
- First item
- Second item
- Third item

代码:
`code`

分割线:
---

链接:
[title](https://www.example.com)

图片: 
![image](https://www.example.gif)

扩展语法

代码块:

```python
def greet(name):
    print(f"Hello, {name}!")

greet("John")
```
表格:
| Syntax      | Description |
| ----------- | ----------- |
| Header      | Title       |
| Paragraph   | Text        |

脚注:
Here's a sentence with a footnote. [^1]
[^1]: This is the footnote.

标题编号:
### My Great Heading {#custom-id}

定义列表:
term
: definition

删除线:
~~The world is flat.~~

任务列表:
- [x] Write the press release
- [ ] Update the website
- [ ] Contact the media
posted @   rustling  阅读(39)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
点击右上角即可分享
微信分享提示