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 was prompted to upgrade to @mdx-js/react v1.6.21 via the Renovate bot.
When I looked at my preview on Netlify, I noticed that my syntax highlighting is now broken where it worked before.
I manually installed @mdx-js/react v1.6.20 and that version also has this bug.
HonkingGoose
changed the title
Upgrade to @mdx-js/react to v1.6.20 breaks my syntax highlighting on Docusaurus v2
Upgrade from @mdx-js/react 1.6.19 to 1.6.20/1.6.21 breaks my syntax highlighting on Docusaurus v2
Nov 7, 2020
Subject of the issue
I was prompted to upgrade to
@mdx-js/react v1.6.21
via the Renovate bot.When I looked at my preview on Netlify, I noticed that my syntax highlighting is now broken where it worked before.
I manually installed
@mdx-js/react v1.6.20
and that version also has this bug.Things are working fine on version
1.6.19
.Your environment
v12.19.0
Yarn1.22.5
, Firefox82.0.2 (64 bit)
Steps to reproduce
Tell us how to reproduce this issue. Please provide a working and simplified example.
This is working fine: https://git-gosling.netlify.app/docs/best_practices/split_up_your_commits
The pull request preview for
mdx-js/react 1.6.21
shows: https://deploy-preview-82--git-gosling.netlify.app/docs/best_practices/split_up_your_commitsmain
branch.git checkout c29382e
to checkout the commit before I made further changes.git switch -c reproduction_branch
to create a branch to work on.yarn install
to install set of working dependencies.yarn start
to make a build and open a browser windowyarn upgrade-interactive --latest
, and select the@mdx-js/react
package with the spacebar, and confirm with enter.yarn start
again, make a dev build with the updated version.🎉 BONUS POINTS for creating a minimal reproduction and uploading it to GitHub. This will get you the fastest support. 🎉
Expected behavior
What should happen?
Syntax highlighting style stays the same when upgrading.
Actual behavior
What happens instead?
Syntax highlighting is broken.
The text was updated successfully, but these errors were encountered: