Support for GFM Checkboxes in Markdown


#1

When editing Markdown, it is nice to have the ability to create a checklist items that can then be ticked off when completed.

For example, once implemented, this:

- [x] item 1
- [ ] item 2
- [ ] item 3

would render:

<ul>
  <li><input checked="" disabled="" type="checkbox"> item 1</li>
  <li><input disabled="" type="checkbox"> item 2</li>
  <li><input disabled="" type="checkbox"> item 3</li>
</ul>

Looking like this:

41

references

spec

https://github.github.com/gfm/#task-list-items-extension-

release note


#2

Thanks for the suggestion! I’ll create a case for this to be considered.