A syntax highlighter based on TextMate grammars. ESM rewrite of shiki, with more features and capabilities.
token
to span
to avoid confusion - by @antfu (eb3b8)
highlightLines
option - by @antfu (21e99)
highlightLines
option - by @antfu (fe0e4)
nodeCompletions
to nodeCompletion
- by @antfu (b7637)
transformerMetaHighlight
transformer - by @antfu (aa81a)
unwasm
condition in exports - by @antfu in https://github.com/antfu/shikiji/issues/72 (96300)
twoslash
package for better performance and composablity - by @antfu in https://github.com/antfu/shikiji/issues/91 (fc67e)
vitepress-plugin-twoslash
- by @antfu (cc128)
throws: true
- by @antfu (dd6c7)
mergeWhitespaces: never
for themes are not handling perfectly - by @antfu (74459)
colorReplacements
field - by @antfu in https://github.com/antfu/shikiji/issues/68 (a5ee1)
setTheme
if theme hasn't changed - by @banga in https://github.com/antfu/shikiji/issues/66 (c6f82)
shikiji-cli
- by @antfu (68cd3)
ThemeRegistration
type, close #63 - by @antfu in https://github.com/antfu/shikiji/issues/63 (03d13)