(request) Document your mdx syntax highlighting setup
NateRadebaugh opened this issue · comments
Nate Radebaugh commented
(request) Document your mdx syntax highlighting setup
I'm wondering how/if you've got a SSR syntax highlighting solution without a front-end bundled prism.js
and prism-react-renderer
.
https://leerob.io/blog/mdx no longer seems to be up to date.
Lee Robinson commented
I'm now using contentlayer
, which is like Prisma, but for your content.
https://github.com/leerob/leerob.io/blob/main/contentlayer.config.ts#L84-L103
Lee Robinson commented
Planning to do a live stream soon walking through various updates to this repo!