Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style change doesn't break task lists #253

Open
faelys opened this issue Nov 5, 2023 · 1 comment
Open

Style change doesn't break task lists #253

faelys opened this issue Nov 5, 2023 · 1 comment

Comments

@faelys
Copy link

faelys commented Nov 5, 2023

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.)

@jgm
Copy link
Owner

jgm commented Nov 5, 2023

I agree, we should be consistent here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants