shikijs/shiki
View on GitHub ↗ ★ 13,919 TypeScript
A beautiful yet powerful syntax highlighter
5 mentions on Hacker News by 5 people: 0 stories, 5 comments · first 2020-09-04 · latest 2023-03-16
20082026
-
Looks like Shiki: https://github.com/shikijs/shiki If you "inspect" the elements with the mouseovers, you can see they statically compiled the TS definition into the HTML. I guess it probably uses the same APIs to read the types VSCode…
comment by nawgz · 2023-03-16 · in Introducing react.dev -
…looked into the slow startup time for shiki and it was mostly from parsing JSONC, not WASM: https://github.com/shikijs/shiki/issues/439 .
comment by milkbikis · 2023-03-07 · in Shiki Syntax Highlighter -
Right? I'm 99% sure this thing uses https://github.com/shikijs/shiki
comment by isakkeyten · 2021-12-06 · in Show HN: Code Hike – More than syntax highlighting -
The tool on GitHub: https://github.com/shikijs/shiki You can import any of the grammars or themes from VSCode that are not currently in the project. I found this because I wanted to reuse the same grammar for CUE on GitHub for my…
comment by verdverm · 2021-09-25 · in Highlight your website's code blocks with VSCode -
…of baseline. [0]: https://shiki.matsu.io/ [1]: https://github.com/adambisek/string-pixel-width [2]: https://github.com/shikijs/shiki/blob/master/packages/render...
comment by octref · 2020-09-04 · in Show HN: Skia-canvas, a browserless implementation of the Canvas API for Node.js