A lightweight React wrapper around the Highlight.js syntaxt highlighting library
npm install react-highlight.jsSee the demo here.
Install react-highlight.js using NPM:
``bash`
npm install react-highlight.js --save
Choose a highlight.js theme and make sure it's included in your index file.
`html`
And then use react-highlight.js to display your text like so:
`html``
{content}
react-highlight.js is available under the MIT License.