基础语法

列表

创建有序、无序和任务列表,清晰地组织信息。

无序列表

使用 -、* 或 + 创建项目符号。

  • Item one
  • Item two
  • Item three

有序列表

每个项目以数字加句点开头。实际数字无关紧要——它们会自动递增。

  1. First item
  2. Second item
  3. Third item

嵌套列表

使用 2 或 4 个空格(或制表符)缩进项目以创建嵌套子列表。

  • Fruits
    • Apples
      • Granny Smith
      • Fuji
    • Oranges
  • Vegetables
    • Carrots
    • Broccoli

任务列表

使用 - [ ] 表示未选中项,使用 - [x] 表示已选中项。

  • Write the documentation
  • Review pull request
  • Deploy to production
  • Send release notes