prism-react-renderer icon indicating copy to clipboard operation
prism-react-renderer copied to clipboard

πŸ–ŒοΈ Renders highlighted Prism output to React (+ theming & vendored Prism)

Results 43 prism-react-renderer issues
Sort by recently updated
recently updated
newest added
trafficstars

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...

bug

This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....

### 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...

enhancement

### 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...

bug
issue-accepted

### Description Exposing the below usehooks for users and update documentation for the same 1. useGetLineProps, 2. useGetTokenProps, 3. useThemeDictionary Fixes # (issue) : https://github.com/FormidableLabs/prism-react-renderer/issues/246 #### Type of Change -...

### 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...

bug