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

Using label:true option breaks markdown-it-attrs plugin #28

Open
smcllns opened this issue Jul 8, 2018 · 0 comments
Open

Using label:true option breaks markdown-it-attrs plugin #28

smcllns opened this issue Jul 8, 2018 · 0 comments

Comments

@smcllns
Copy link

smcllns commented Jul 8, 2018

Another plugin markdown-it-attrs enables html attributes to be parsed from markdown as curly brackets, e.g. {.foo} => class="foo".

By default, markdown-it-task-lists works, and attrs are properly applied.

However, if I use option label: true, this creates an issue where attrs plugin fails to execute correctly: the attribute is not parsed, and the curly bracket remains in the output. Here's an example with label:true enabled:

screen shot 2018-07-07 at 10 14 32 pm

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

1 participant