Comment

Comment by eyelidlessness

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).

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton