Back to cheat sheet

Task list

Use - [ ] and - [x] to create to-do checkboxes. This is a GFM extension.

Markdown
- [x] Done task
- [ ] Todo task
Preview
  • Done task
  • Todo task
HTML output
<ul>
<li><input type="checkbox" checked disabled> Done task</li>
<li><input type="checkbox" disabled> Todo task</li>
</ul>

Tip — Widely used to show progress in GitHub issues and PRs.

Open in converter