-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recommend the VS Code MDX extension #8897
Conversation
The old recommendation was to mark MDX files as markdown. MDX supports various constructs that markdown doesn’t, so that leads to bad syntax highlighting.
🦋 Changeset detectedLatest commit: 24a60ea The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for submitting a PR! Agree that this extension should be the recommendation—it's been a huge quality of life upgrade!
Co-authored-by: Chris Swithinbank <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @remcohaszing for the update!
If you’re interested in a follow-up, I guess we could also include unifiedjs.vscode-mdx
in the recommended extensions in our blog starter project, which uses MDX:
"recommendations": ["astro-build.astro-vscode"], |
I'm going to merge this since we're about to do a release, but yeah I like @delucis' suggestion as well! If you'd like to open a PR with that change, please do! |
Co-authored-by: Chris Swithinbank <[email protected]> Co-authored-by: Nate Moore <[email protected]>
Changes
This replaces the the old recommendation to mark MDX files as markdown with the recommendation to use the official MDX extension. MDX supports various constructs that markdown doesn’t, so that leads to bad syntax highlighting.
Testing
This is a documentation-only change.
Docs
This is a documentation-only change.