jgm/djot

Allow underscore in task list to denote unchecked item

stoicon opened this issue · 2 comments

Thank you for djot and CommonMark

Currently, unchecked item requires exactly one space inside square brackets. It leads to typing errors, especially in editors without monospaced fonts, for example, some apps on phones.

This issue was encountered when using markdown, but it also applies to djot. Also, when writing this issue on GitHub from the browser, the text box does not use monospaced fonts.

Therefore, allow underscore in task list to denote unchecked item.

Why underscore?
Because the unchecked box will look like an empty box in the source code.

Take a look at the following example:

- [_] unchecked item with underscore
- [ ] unchecked item with space
- [x] checked item with lowercase letter x
- [X] checked item with uppercase letter X
jgm commented

I like the idea.

Thank you!