Skip to content
Markdown

Task Lists

GFM checkboxes for to-do items.

By EZ4Code Team
taskcheckboxgfm

Code

- [x] Completed task
- [ ] Pending task
- [ ] Another task
  - [x] Subtask done
  - [ ] Subtask pending

Explanation

Task lists are a GFM extension that renders checklist items from - [ ] and - [x] markers. They can be nested like normal list items. Many renderers and platforms toggle the checkbox state by editing the bracket content directly.

More Markdown Snippets