Repository navigation
Releases
Releases · shikijs/shiki
v4.6.0
🐞 Bug Fixes
- primitive: Apply injections loaded after their target grammar - by @Yahiro025 in #1333 (28817)
- rehype: Avoid cache key collisions between code blocks - by @Don-Yin in #1343 (f8f63)
- stream: Align
ShikiStreamTokenizeroffsets and CRLF handling withcodeToTokens- by @xyrolle in #1335 (f8aba) - transformers: Also convert single-theme inline token styles to classes - by @harsh-thakkar7 in #1344 (6319e)
- vitepress-twoslash: Keep drag guard working with floating-vue 5.4 - by @0froq in #1340 (5a174)
🏎 Performance
- core: Render many decorations in linear time - by @DaniPopes in #1338 (f07d3)
- engine-oniguruma: Compress Wasm binary with gzip and load asynchronously - by @jeremy-code in #1331 (a1fea)
View changes on GitHub
v4.5.0
🚀 Features
- Emit an explicit color level from codeToANSI - by @EvanProgramming in #1320 (b968e)
- transformers:
- Add classActiveCode option to transformerNotationWordHighlight - by @curiouscoder-cmd in #1201 (1e968)
- Add transformerRenderLineNumber - by @Divyapahuja31 and DIVYA PAHUJA in #1238 (02f05)
🐞 Bug Fixes
- cli:
- primitive:
- stream:
- Compile Solid renderer with babel-preset-solid - by @BetterAndBetterII and @antfu in #1309 (8724e)
- transformers:
- Keep notations on content comment lines - by @tianrking in #1308 (d25ab)
- Handle split
#and--comments in rose-pine theme - by @anandghegde in #1317 (63e6d)
- twoslash:
- Avoid crash when @errors nodes land past EOF - by @Yahiro025, @cursoragent and @antfubot in #1316 (5c919)
🏎 Performance
- engine-js: Reuse each regex's last search while tokenizing a line - by @issacgerges and @antfu in #1314 (2ef5e)
- stream: Group tokens by line in the React renderer - by @CNSeniorious000 in #1311 (81200)
- vitepress-twoslash: Replace lz-string with lz-string-es - by @antfubot in #1324 (2e170)
View changes on GitHub
v4.4.3
v4.4.2
v4.4.1
v4.4.0
v4.3.1
v4.3.0
🚀 Features
- stream: Add svelte renderer - by @CNSeniorious000 and Anthony Fu (via agent) in #1291 (2d18a)
View changes on GitHub
v4.2.0
🚀 Features
🐞 Bug Fixes
- transformers: Handle YAML comment prefixes correctly for v3 - by @AkaHarshit in #1266 (f694a)
- vitepress-twoslash: Scroll blocking on mobile viewports - by @micaiguai in #1262 (9e0e8)
View changes on GitHub
v4.1.0
🐞 Bug Fixes
- twoslash: Forward
tsModuletocreateTwoslasher- by @arthurfiorette in #1271 (be89a)