This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make syntax highlighting work when client JS is disabled
PrismLight will have access to all syntaxes on the server side and provide syntax-highlighted code blocks in HTML. PrismAsyncLight will download only the necessary syntaxes on the client to hydrate the code blocks. This seems to work fine right here, but I noticed some server/client mismatches in dev on my own site. There are PRs up to fix those problems: react-syntax-highlighter/react-syntax-highlighter#361 react-syntax-highlighter/react-syntax-highlighter#362
- Loading branch information