vscode-markdown-languageservice icon indicating copy to clipboard operation
vscode-markdown-languageservice copied to clipboard

“Links” in Markdown Math Wrongly Validated

Open YDX-2147483647 opened this issue 3 years ago • 4 comments

Does this issue occur when all extensions are disabled?: Yes. (I've tried Developer: Reload With Extensions Disabled)

  • VS Code Version: Code 1.68.0 (4af164ea3a06f701fe3e89a2bcbb421d2026b68f, 2022-06-08T11:44:16.822Z)
  • OS Version: Windows_NT x64 10.0.19043

Steps to Reproduce:

  1. Enable markdown.math.enabled, markdown.experimental.validate.enabled.
  2. Create a markdown file.
  3. Write$[0,1]$.
  4. “No link definition found: '0,1'”
image

Temporary solution: Write $[0, 1]$ instead. (insert a space after the comma)

YDX-2147483647 avatar Jun 11 '22 09:06 YDX-2147483647

@mattbierner Same with version number is changelog:

image

tjx666 avatar Jun 13 '22 17:06 tjx666

also with license author:

image

tjx666 avatar Jun 13 '22 18:06 tjx666

@tjx666 Those cases are expected as they are valid reference link shorthand. You can escape the leading \[ to avoid this

mjbvz avatar Jun 13 '22 18:06 mjbvz

Update: The temporary solution $[0, 1]$ doesn't work now.

YDX-2147483647 avatar Jun 27 '23 13:06 YDX-2147483647