markdown-it-task-lists icon indicating copy to clipboard operation
markdown-it-task-lists copied to clipboard

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

Open smcllns opened this issue 7 years ago • 0 comments
trafficstars

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

smcllns avatar Jul 08 '18 05:07 smcllns