djot icon indicating copy to clipboard operation
djot copied to clipboard

Style change doesn't break task lists

Open faelys opened this issue 1 year ago • 1 comments

Please consider the following example in the playground:

- foo
+ bar
* baz

- [ ] foo
+ [ ] bar
* [ ] baz

That yields three single-item unordered lists, but only one three-item task list. Is the inconsistency intended?

I hesitated between reporting it here or under djot.js, but I eventually rationalized that it's a consequence of having a single marker - [ ] for all task lists in the list item specification so if it's not intended there probably should be at least clarification or extra lines in the table.

Considering how surprising I think it is, I believe even if it's intended there should be some clarification to spell it out in the specification.

(On a more meta note, definition lists are the last feature missing from my parser in Erlang, so I'll probably stop bothering you soon with my tickets.)

faelys avatar Nov 05 '23 09:11 faelys

I agree, we should be consistent here.

jgm avatar Nov 05 '23 17:11 jgm