A React component for highlighting code with Prism.
This component does not bundle Prism; you have to include it in your project. To install both Prism and this component, run:
$ yarn add prismjs @maji/react-prism
A more complete example is in
NOTE: you will also need to include Prism's CSS. When installed with npm, its stylesheets are at
importthe language from Prism. For example, to add Bash support, do