2 ms·
This is cool. Looks like you’re using Prism for syntax highlighting. Would you consider supporting Shiki (as well)? It uses the same tokenizer and themes as VSC
by eyelidlessness 6y ago
This is cool. Looks like you’re using Prism for syntax highlighting. Would you consider supporting Shiki (as well)? It uses the same tokenizer and themes as VSCode, and there are cool plugins such as shiki-twoslash which adds support for TypeScript features like type error highlighting and symbol references (and quite a bit more).
- velut 6y agoThank you! Yes, I use prism-react-renderer for syntax highlighting. I did not know about Shiki, but I'll look into it.