Style change doesn't break task lists
faelys opened this issue · 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.)
I agree, we should be consistent here.