What is react-syntax-highlighter?
"syntax highlighting component for react with prismjs or highlightjs ast using inline styles"
react-syntax-highlighter is used to facilitate high-performance Node.js workflows. It provides a robust footprint of 2.1 MB on disk.
Installation Guide
# Install via NPM
npm install react-syntax-highlighter
# Install via Yarn
yarn add react-syntax-highlighter