Releases: shikijs/shiki
Releases · shikijs/shiki
v4.0.2
v4.0.1
v4.0.0
v3.23.0
🚀 Features
- Update grammar and themes - by @antfu (9b4ca)
- cli:
- Add stdin support and list commands - by @Divyapahuja31 and DIVYA PAHUJA in #1241 (213f1)
- transformers:
- Add 'leading' position to transformerRenderWhitespace - by @Divyapahuja31 and DIVYA PAHUJA in #1236 (49cbb)
- Add support for [!code info] notation - by @Divyapahuja31 and DIVYA PAHUJA in #1237 (cd2a6)
🐞 Bug Fixes
- Add
declaremodifier to top level declarations in.d.ts- by @KazariEX in #1242 (142d5) - cli: Normalize language/extension casing for CLI inputs - by @Nandann018-ux and @antfu in #1245 (4bea1)
View changes on GitHub
v3.22.0
v3.21.0
🚀 Features
- Update grammar - by @antfu (6d109)
- core: Preserve HAST data and properties in codeToHast - by @AmanCrafts in #1204 (747ea)
🐞 Bug Fixes
View changes on GitHub
v3.20.0
🚀 Features
- cli: Add --format option for html output - by @Divyapahuja31 in #1211 (28dd0)
🐞 Bug Fixes
- rehype: Handle promise rejections in lazy language loading - by @ambujvashistha in #1221 (99654)
- vitepress-twoslash: Fix popper positions being recomputed too early within vitepress code groups - by @Dschungelabenteuer, charles.gruenais and @antfu in #1116 (19ea5)
🏎 Performance
- core: Eliminate redundant tokenization call in tokenizeWithTheme - by @ShivanshBhargava and @NssGourav in #1216 (c78b1)
View changes on GitHub
v3.19.0
🚀 Features
- Support
rootStyle: falseoption - by @khushthecoder and @antfu in #1184 (baf9a) - transformers:
- Add
classActiveCodeoption to notation transformers - by @GreenHacker420 in #1171 (a6a44) - Add transformerRemoveComments - by @Bitshifter-9, Copilot, @crazylogic03 and @antfu in #1144 (f2ee3)
- Add
- twoslash:
🐞 Bug Fixes
- Add typesVersions for legacy resolution support - by @khushthecoder in #1179 (100b7)
- core: Check embeddedLanguages in registry dependency check - by @vamsi2246 in #1178 (6ad16)
- monaco: Correctly handle sparse color map updates - by @wcr-karan in #1169 (38c7f)
View changes on GitHub
v3.18.0
🚀 Features
- transformers: Support
zeroIndexedoption totransformerMetaHighlight- by @manak-sharma20 in #1149 (c39ff)
🐞 Bug Fixes
- core:
View changes on GitHub
v3.17.1
🚀 Features
- core: Enhance string utils with robust edge case handling - by @shekhar-narayan-mishra in #1154 (a2b68)
🐞 Bug Fixes
- core: Correctly parse 4-digit hex colors in dimColor - by @shalini-saloni in #1151 (fcdd3)
- monaco: Ensure correct color map update when switching themes - by @shivank-1011 in #1155 (d2e94)