Syntax Highlighting (and More!) With Prism on a Static Site

1 · CSS-Tricks · May 4, 2022, 2:43 p.m.
So, you’ve decided to build a blog with Next.js. Like any dev blogger, you’d like to have code snippets in your posts that are formatted nicely with syntax highlighting. Perhaps you also want to display line numbers in the … Syntax Highlighting (and More!) With Prism on a Static Site originally published on CSS-Tricks. You should get the newsletter....