Using PrismJS to highlight code in React/Next Components
Prism is a syntax highlighting library that is not only lightweight and robust, but also elegant. It operates with "<code>" elements, as it's semantically incorrect to mark up code without a "<code>" element.