leerob / nextjs-prism-markdown

Example using Prism / Markdown with Next.js including switching syntax highlighting themes.
https://nextjs-prism.vercel.app
102 stars 42 forks source link

Syntax Highlighting not working #2

Closed chuygil closed 2 years ago

chuygil commented 2 years ago

I tried to use this repo as a reference to add syntax highlight to my website and get seem to be able to reproduce the syntax highlighting as in your demo.

As far as I can tell, the logic is the same and added the custom unpkg link themes to _document.js globally.

My repo: https://github.com/jgil-r/jesus-gil

Live sample blog post with js snippet: https://jesus-gil.vercel.app/blog/managing-dotfiles