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
I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
MDX v1.8.9
Link to runnable example
No response
Steps to reproduce
As of today (potentially related to the new Visual Studio Code update 1.92, which came out yesterday), MDX files with frontmatter don't display proper syntax highlighting.
Create a file and use MDX syntax highlighting.
Add frontmatter to the file.
Write standard MDX content below the frontmatter.
I am using Node.js version 22.3.0.
Expected behavior
The standard syntax highlighting should appear (this was the case for me until today).
Actual behavior
The entire file is highlighted as if it were YAML.
Runtime
Other (please specify in steps to reproduce)
Package manager
npm v10
OS
Windows
Build and bundle tools
Next.js
The text was updated successfully, but these errors were encountered:
Initial checklist
Affected packages and versions
MDX v1.8.9
Link to runnable example
No response
Steps to reproduce
As of today (potentially related to the new Visual Studio Code update 1.92, which came out yesterday), MDX files with frontmatter don't display proper syntax highlighting.
I am using Node.js version 22.3.0.
Expected behavior
The standard syntax highlighting should appear (this was the case for me until today).
Actual behavior
The entire file is highlighted as if it were YAML.
Runtime
Other (please specify in steps to reproduce)
Package manager
npm v10
OS
Windows
Build and bundle tools
Next.js
The text was updated successfully, but these errors were encountered: