You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rule MD049 incorrectly detects the the Azure Devops markdown tag to auto generate a table of contents
Issue
Azure Devops uses the tag [[_TOC_]] to auto generate a table of contents at render. The tag must match case and syntax exactly or will be rendered as the litteral text. As the tag uses a prefix and suffix of underscore (_) the rule MD049 incorrectly detects the use of underscore as the emphasis style of the document.
Thank you! I don't like adding special cases for weird stuff like this, but I see why it's annoying in your scenario. I'll leave this open to think about.
Problem Description
Rule MD049 incorrectly detects the the Azure Devops markdown tag to auto generate a table of contents
Issue
Azure Devops uses the tag
[[_TOC_]]
to auto generate a table of contents at render. The tag must match case and syntax exactly or will be rendered as the litteral text. As the tag uses a prefix and suffix of underscore (_) the rule MD049 incorrectly detects the use of underscore as the emphasis style of the document.Proposal
Exclude "[[TOC]]" from emphasis evaluation
Impacted version(s)
v0.27.0
Supporting Documentation
Markdown syntax for wikis
The text was updated successfully, but these errors were encountered: