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
When working with "markdown.preferredMdPathExtensionStyle": "removeExtension" set, and a mix of MDX and MD files, it is not possible to validate and autocomplete links to MDX files from MD files using this language service.
The root cause, at least for validation, seems to be
When working with
"markdown.preferredMdPathExtensionStyle": "removeExtension"
set, and a mix of MDX and MD files, it is not possible to validate and autocomplete links to MDX files from MD files using this language service.The root cause, at least for validation, seems to be
vscode-markdown-languageservice/src/workspace.ts
Line 227 in 7156aba
This function requires all extensionless links in MD files to be handled by the language service. However, MDX files can't be handled by this service.
Perhaps a new setting (
"markdown.knownMdExtensions": ["md", "mdx"]
) could be added to allow link validation to find the file?The text was updated successfully, but these errors were encountered: