3 ms·
While I have no doubt tree-sitter is technically superior for the specific task of syntax highlighting, Shiki has some other appealing qualities: - Built in su
by eyelidlessness 3y ago
While I have no doubt tree-sitter is technically superior for the specific task of syntax highlighting, Shiki has some other appealing qualities:
- Built in support for TextMate themes (and therefore also themes for VSCode, probably Sublime as well)
- Shiki Twoslash[1], which supports a variety of really cool features for highlighting subsections of code, static types and type errors, module relationships
1: https://github.com/shikijs/twoslash https://github.com/shikijs/twoslash