The table of contents generator adds escape characters to underscores in the middle of SCREAMING_SNAKE_CASE identifiers. I see that underscores may be backslash escaped, but do they have to be in this case where there is no preceding or following whitespace? Admittedly, my read of CommonMark is naive.
If they are unnecessary, I'd love to have them excluded by default or with an option to improve readability of the markdown source.
Proposal
The table of contents generator adds escape characters to underscores in the middle of SCREAMING_SNAKE_CASE identifiers. I see that underscores may be backslash escaped, but do they have to be in this case where there is no preceding or following whitespace? Admittedly, my read of CommonMark is naive.
If they are unnecessary, I'd love to have them excluded by default or with an option to improve readability of the markdown source.
Markdown source w/ generated TOC:
VS Code Preview:
Other information