Skip to main content

扩展语法

这些元素通过添加额外的功能扩展了基本语法。但是,并非所有 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