Markdown语法极简说明

基本语法

元素 Markdown 语法
标题 # H1
## H2
### H3
粗体 ** 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)
图片 ![alt text](image.jpg)

扩展语法

这些元素通过添加额外的功能扩展了基本语法。但是,并非所有 Markdown 应用程序都支持这些元素。

元素 Markdown 语法
表格 | Syntax      | Description |
| ----------- | ----------- |
| Header      | Title       |
| Paragraph   | Text        |
代码块 {
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}
脚注 Here's a sentence with a footnote. [^1]
[^1]: This is the footnote.
标题编号 ### My Great Heading
定义列表 term
: definition
删除线 ~~ The world is flat. ~~
任务列表 - [x] Write the press release
- [ ] Update the website
- [ ] Contact the media

其它资源

参考

后记

这篇文章就是用Markdown的语法写的,习惯了以后感觉是挺好用的~

posted @ 2022-10-23 11:27  vicky2021  阅读(37)  评论(0)    收藏  举报