Markdown 语法速查表
创始人
2024-05-29 00:46:50

 

 

 

 

 

 

 

Markdown 速查表提供了所有 Markdown 语法元素的基本解释。如果你想了解某些语法元素的更多信息,请参阅更详细的基本语法和拓展语法。

#基本语法

这些是 John Gruber 的原始设计文档中列出的元素。所有 Markdown 应用程序都支持这些元素。

元素Markdown 语法
标题(Heading)# H1
## H2
### H3
粗体(Bold)**bold text**
斜体(Italic)*italicized text*
引用块(Blockquote)> blockquote
有序列表(Ordered List)1. First item
2. Second item
3. Third item
无序列表(Unordered List)- First item
- Second item
- Third item
代码(Code)`code`
分隔线(Horizontal Rule)---
链接(Link)[title](https://www.example.com)
图片(Image)![alt text](image.jpg)

#扩展语法

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

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

 

相关内容

热门资讯

玩家必知教程!hhpoker作... 玩家必知教程!hhpoker作弊码(辅助挂)果然真的有挂(真实有挂)1、每一步都需要思考,不同水平的...
六分钟了解!pokemmo辅助... 六分钟了解!pokemmo辅助器(辅助挂)一贯是真的有挂(真的有挂)1、在pokemmo辅助器插件功...
普及知识!哈糖大菠萝有挂吗5个... 普及知识!哈糖大菠萝有挂吗5个常用方法(辅助挂)其实是真的有挂(有挂头条)1、哈糖大菠萝有挂吗5个常...
玩家必看分享!wepoker手... 玩家必看分享!wepoker手机版辅助(辅助挂)一贯真的是有挂(有挂头条)玩家必看分享!wepoke...
必看攻略!wepoker买钻石... 必看攻略!wepoker买钻石有用吗(辅助挂)切实有挂(有挂功能)所有人都在同一条线上,像星星一样排...