Fix syntax highlighting in docs #1448
Merged
+451
−1,371
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.
Fixes #1446
Change List
--docusaurus-highlighted-code-line-bg
CSS variable (to fix the bug in referenced in the issue)prism-react-renderer
into JS files in our documentation site directory to ensure they do not change. This now unifies the source of the theme used by both the Docusaurus code blocks and the "Translation to JSON" tab of http://localhost:3001/#?edit=true (when theJS
language has been selected).prism
themes. The caveat is that the JS tokenizer forprism
is more fine-grained than the JS tokenizer formonaco
so the token types do not have a one-to-one mapping.docusaurus
packagesChecklist
vitessce-python
andvitessce-r
if this is a release PR