News for hackers. Stuff that matters.
Re:Show HN: Automatic Documentation for TypeScript Packages by eyelidlessness on Tuesday May 11, 2021 @01:56PM (#27121265)
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).
Re:Show HN: Automatic Documentation for TypeScript Packages by velut on Tuesday May 11, 2021 @02:40PM (#27121843)
Thank you!

Yes, I use prism-react-renderer for syntax highlighting.

I did not know about Shiki, but I'll look into it.