Skip to content
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

docs: fix highlight broken on prod #56

Merged
merged 6 commits into from
Jun 10, 2024
Merged

docs: fix highlight broken on prod #56

merged 6 commits into from
Jun 10, 2024

Conversation

fand
Copy link
Owner

@fand fand commented Jun 10, 2024

react-syntax-highlight has an issue that it fails to render code correctly on prod.

image

ref. react-syntax-highlighter/react-syntax-highlighter#513

This PR solves this by using prism-react-renderer instead.

Copy link

vercel bot commented Jun 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-vfx-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 6:46am

@fand fand merged commit 5805db7 into main Jun 10, 2024
2 checks passed
@fand fand deleted the docs/fix-highlight-on-prod branch June 10, 2024 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant