Skip to content

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

@smcllns

Description

@smcllns

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions