Markdown语法总结

标题

用"#"号代表主题

(一级) "#"

(二级) "##"

(三级) "###"

列表

用-或*代表无序序列

  • 1

    • 1.1

      • 1.1.1

  • 2

    • 2.1

      • 2.1.1

  • 3

    • 3.1

      • 3.1.1

复选框(仅github)

  • [ ] 选项1
  • [x] 选项2

用1. 2. 3.代表有序序列

  1. 标题1
    1.1. 标题1.1.
  2. 标题2
    2.1
    2.2
  3. 标题3
    3.1
    3.2

引用

用>代表引用

这段文字是引用

图片与链接

图片为:![]()

Markdown语法总结_第1张图片
Chrysanthemum.jpg

文本为:[]()
Baidu

粗体与斜体

一个*包围是 斜体
两个*包围是 粗体

表格

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

`

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

`

Tables Are Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

代码框

用 ` 号代表代码
function a() { }

分割线

三个*代表分割线
下面是分割线:


你可能感兴趣的:(Markdown语法总结)