jgm / djot

A light markup language
https://djot.net
MIT License
1.63k stars 43 forks source link

Task list item should allow for non-Latin checkmark #202

Open mcookly opened 1 year ago

mcookly commented 1 year ago

Currently, Djot syntax defines task list item as such:

A bullet list item that begins with [ ], [X], or [x] followed by a space is a task list item, either unchecked ([ ]) or checked ([X] or [x]).

I think it would be helpful to add the checkmark option * (like AsciiDoc) or + so that non-Latin alphabets can still use task items easily.

mcookly commented 1 year ago

Unless more input is needed, I can create a pull request for this . (I'm not sure what your policy is on other people's requests @jgm.)

bpj commented 1 year ago

If you do this it might be a good idea to support capital X as well.

jgm commented 1 year ago

Capital X is already supported. I don't need a PR, just leave this open and I'll think more about it.

toastal commented 1 year ago

What about U+2713 ✓ CHECK MARK? Filling with generic ASCII characters is still useful for keyboarding but hardly accurate—those symbols have a lot of other meanings.