prism-react-renderer
prism-react-renderer copied to clipboard
ποΈ Renders highlighted Prism output to React (+ theming & vendored Prism)
It would be good if this project had a v1 to v2 Migration Guide which will help us to migrate successfully to v2 as the APIs were changed and it...
Hello, I just migrated to v2 and im wondering how to import the type PrismTheme. ```javascript import { PrismTheme } from "prism-react-renderer"; ``` In v1.3.5 it was posible to use...
For example, I have different type of CSS selectors and I want to set different colors: ``` body .card ``` I cannot select `.selector.class` like what I do in CSS...
I wrote an example component able to lazy load languages to avoid bundling everything: https://codesandbox.io/s/lazy-load-prism-react-renderer-2g7qhh Doesnβt support language aliases, only the language names used in the filename (e.g. `bash`, but...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Code of Conduct - [X] I agree to follow this project's Code of...