In this video, I am showing how to highlight code for any NextJS or ReactJS application. We are using PrismJS to do that.
PrismJS:
https://www.npmjs.com/package/prismjs
Prism Themes:
https://github.com/PrismJS/prism-themes
Demo:
https://www.mohammadfaisal.dev/blog