Fix MDX parser error in mapping.mdx documentation#454
Merged
hotlong merged 2 commits intodependabot/npm_and_yarn/production-dependencies-29f96a6100from Feb 1, 2026
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update Node.js engine requirement in package.json
Fix MDX parser error in mapping.mdx documentation
Feb 1, 2026
a4fb741
into
dependabot/npm_and_yarn/production-dependencies-29f96a6100
4 of 5 checks passed
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes a critical MDX parsing error that caused the Vercel build to fail. The MDX parser was incorrectly interpreting unescaped curly braces { "Open": "draft" } in a table cell as JSX expression syntax, resulting in an "Unexpected content after expression" error at line 44:99 of mapping.mdx.
Changes:
- Escaped the inline JSON example in the
valueMapparameter description by wrapping it in backticks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Vercel build failed with MDX parsing error at
mapping.mdx:44:99- the parser interpreted unescaped curly braces in a table cell as JSX expression syntax.Changes
This aligns with the pattern used elsewhere in the docs (e.g.,
field.mdx:106,license.mdx:77).Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.