任务列表使您可以创建带有复选框的项目列表。在支持任务列表的Markdown应用程序中,复选框将显示在内容旁边。要创建任务列表,请在任务列表项之前添加破折号(-)和方括号,并[ ]在其前面加上空格。要选择一个复选框,请x在方括号([x])之间添加in 。

  1. - [x] Write the press release
  2. - [ ] Update the website
  3. - [ ] Contact the media

呈现的输出如下所示:

  • Write the press release
  • Update the website
  • Contact the media