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

The format of the task list is not the same as github #1981

Closed
2 tasks done
ghost opened this issue Mar 24, 2021 · 2 comments · Fixed by #2112
Closed
2 tasks done

The format of the task list is not the same as github #1981

ghost opened this issue Mar 24, 2021 · 2 comments · Fixed by #2112
Labels
category: lists L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue

Comments

@ghost
Copy link

ghost commented Mar 24, 2021

What pain point are you perceiving?.

The format of the task list is not the same as github

+  [x] (+, 2space, [x], space)
+   [x] (+, 3space, [x], space)

↑ Can be a tasklist?
result

  • OK: github
  • NG: marked

To Reproduce

github

  • tasklist1
  • tasklist2

Marked(version: master)
Marked Demo

github recognizes a list as a task list if there is one or more space between the list symbol and [x].
marked recognizes a list as a task list if there is only one space between the list symbol and the [x].

Describe the solution you'd like
So, I'd like the format of task lists to be the same as github, with one or more space between the list symbol and [x].

@UziTech UziTech added category: lists L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue labels Mar 24, 2021
@UziTech
Copy link
Member

UziTech commented Mar 24, 2021

PRs are appreciated 😁👍

@calculuschild
Copy link
Contributor

This should be fixed by #2112

@styfle styfle linked a pull request Jun 24, 2021 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: lists L2 - annoying Similar to L1 - broken but there is a known workaround available for the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants