Not links are detected as links in math, for example:
$$
c = 3 \left[ a - b \right]
$$
produces a warning: No link definition found: 'a - b \right' (link.no-such-reference). Obviously there is no link in the expression.
Often square brackets are used to simplify the perception of a formula with a lot of parentheses, it's not me being weird.
Since VSCode does render math, I think the issue is relevant to VSCode.
I guess links shouldn't be validated in math code at all, or only inside \text{...}.
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.123.0
- Commit: 6a44c35
Steps to Reproduce:
- Have
"markdown.validate.enabled" = true in your settings
- Open a markdown document and paste the code (or any other containing brackets
[ and ] on the same line):
$$
c = 3 \left[ a - b \right]
$$
- See the error is present.
Not links are detected as links in math, for example:
produces a warning:
No link definition found: 'a - b \right' (link.no-such-reference). Obviously there is no link in the expression.Often square brackets are used to simplify the perception of a formula with a lot of parentheses, it's not me being weird.
Since VSCode does render math, I think the issue is relevant to VSCode.
I guess links shouldn't be validated in math code at all, or only inside
\text{...}.Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
"markdown.validate.enabled" = truein your settings[and]on the same line):