Markdown 基本语法

Markdown 基本语法

cp from markdown.com

基本语法

这些是 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
    图片(Image) alt text
    扩展语法