src Update to use latest prism-themes commits (#283) Jul 31, 2020 styles Repaired demo build (#280) Jul 30, 2020 .codecov.yml Random lock file change & ignore generated files from codecov Oct 31, 2018 .gitignore Repaired demo build (#280) Jul 30, 2020 ...
Regenerate Prism themes containing nested tokens 15.0.0 / 2020-10-03 Breaking change: Allow styling nested tokens with classes in styles (probably not practically breaking for most, since this is a change that fixes a previously non-working feature) ...
Sponsor Watch10 Star1.8k Fork137 Code Issues23 Pull requests3 Actions Projects Security Insights More Browse files Prism async demo now uses dynamically-generated themes list. Loading branch information simmerercommittedJul 31, 2020 Verified 1 parentbe427a0commit7e26d31cf689721d3fe455323...
I have a reproduction of this issue here:https://github.com/dwjohnston/highlighting-ssr This can be resolved by doing a client side 'wait for second render': exportdefaultfunctionA(){constisDarkMode=useMediaQuery({query:"(prefers-color-scheme: dark)"})const[ready,setReady]=useState(false);...
"prism-themes": "1.9.0", "react": "^15.2.0", "react-dom": "^15.2.0", "react-syntax-highlighter-virtualized-renderer": "^1.0.3", "react-test-renderer": "^15.3.2", "request": "^2.88.0", "style-loader": "^0.13.0", "to-camel-case": "^1.0.0", "webpack": "^4.22.0"...