Code Highlighting in your Web Apps [Symfony + Webpack] with PrismJS

Alberto Robles
3 min readMar 18, 2024

Hey fellow devs! 🚀 Ever found yourself deep in the Symfony trenches, thinking your project could use a sprinkle of syntax sugar? Maybe you’re showcasing snippets in your app or blogging platform and want those <code> blocks to shine brighter than your IDE on dark mode? Enter PrismJS - your new best friend for syntax highlighting, making your code snippets not just readable…

--

--