hi,
I am using nextjs with react and styled-components.
I was trying to implement some code snippets on my website and wasn’t that successful.
I stumbled across some npm packages wich didn’t work that great or I was always missing either highlighting or prettying.
I read about highlight.js and Prism as well as their npm package and core js file.
I was hoping now since css-tricks have beautiful code snippets on their page, that someone here know how they did it.
I am especially looking also for a way to match the highlighting style to look as the colors on my page.
prettying + highlighting + matching the highlighting my style colors
Thanks sooo much.
Best, Adrian