Skip to content

markdown syntax quick reference guide

总览

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

基本语法

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

标题(Heading)

H1

H2

H3

粗体(Bold)
boldtext

斜体(Italic)
italicizedtext

引用块(Blockquote)

blockquote

有序列表(OrderedList)

  1. Firstitem
  2. Seconditem
  3. Thirditem

无序列表(UnorderedList)

代码(Code) code

分隔线(HorizontalRule)

链接(Link) title

图片(Image) alttext

扩展语法

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

表格(Table)

SyntaxDescription
HeaderTitle
ParagraphText

代码块(FencedCodeBlock)

{  
"firstName":"John",  
"lastName":"Smith",  
"age":25  
}  

脚注(Footnote)

Here’sasentencewithafootnote.1

标题编号(HeadingID)

MyGreatHeading {#custom-id}

定义列表(DefinitionList)

term
: definition keep

删除线(Strikethrough)
Theworldisflat.

任务列表(TaskList)

Footnotes

  1. Thisisthefootnote.


Share this post on:

Next Post
Adding new posts in AstroPaper theme