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
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) ...
import { useTheme } from "next-themes"; import { Prism } from "react-syntax-highlighter"; import * as styles from "react-syntax-highlighter/dist/esm/styles/prism"; import { highlight } from "@/lib/shiki"; type CodeProps = { codeString: string; language: string; }; export function ...
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...
User preference queries / basing light/dark mode on system settings is pretty common these days. It would be nice to have a theme that works seamlessly for both dark and light themes. We can make use of tools likereact-responsiveto choose a theme. ...
Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way. - Replace react-syntax-highlighter with rehype-highlight to reduce memo… · dario-valles/claude-dev@ea
"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"...