This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
Releases: antfu/shikiji
Releases · antfu/shikiji
v0.10.2
v0.10.1
🚀 Features
- Add a special
none
theme - by @antfu in #115 (32f8a) - rehype-shikiji: Support metastring from node.properties - by @zce, Anthony Fu and @antfu in #114 (3b0cb)
🐞 Bug Fixes
- rehype-shikiji: Lazily initialize promise - by @jxom in #112 (3d5b4)
- transformers: Word highlight support any symbol, fix #110 - by @antfu in #110 (38595)
- vitepress-twoslash: Fix class override - by @antfu (7c5cd)
View changes on GitHub
v0.10.0
This release migrated TwoSlash integrations from @typescript/twoslash
into the successor twoslash
with quite many improvements, including more prosperous rendering results, more robust interfaces, and even optional Vue SFC support. Along the way, we also take the chance to remove the previously deprecated APIs to reduce the maintenance surface. Please go into each PR/commit to find the detailed changes.
This release also includes a few new themes, inherited from tm-themes
:
The breaking changes mostly happen internally. Ideally, for high-level usages, they shouldn't be affected and can be upgraded seamlessly.
🚨 Breaking Changes
- core:
- markdown-it:
- rehype:
- twoslash:
🚀 Features
- Support
unwasm
condition for core - by @antfu in #97 (71249) - Support configure
cache
option for twoslash transformer - by @antfu (d5773) - Upgrade to twoslash v0.1.0 - by @antfu (b6cbf)
- core:
- transformers:
- vitepress-twoslash:
🐞 Bug Fixes
- twoslash:
- Split tokens to match the twoslash nodes - by @antfu (9016d)
- Support targeting multiple tokens a node, more accurate result - by @antfu (23ece)
- Avoid genreate duplicate hovers - by @antfu (04352)
- Respect twoslash output lang - by @antfu (a5a8a)
- Completion on string quotes and literals - by @jxom and @antfu in #99 (c1e9c)
- Completion on multifile - by @jxom and @antfu in #100 (ac629)
- Adjust styles - by @antfu (2602b)
- Split tokens on completion - by @antfu (3f349)
- vitepress-twoslash:
🏎 Performance
View changes on GitHub
v0.10.0-beta.9
v0.10.0-beta.8
No significant changes
View changes on GitHub
v0.10.0-beta.7
v0.10.0-beta.6
v0.10.0-beta.5
v0.10.0-beta.4
🚀 Features
- Support
unwasm
condition for core - by @antfu in #97 (71249) - vitepress-twoslash: Support rendering jsdoc tags - by @antfu (bd12c)
🐞 Bug Fixes
- twoslash: Completion on string quotes and literals - by @jxom and @antfu in #99 (c1e9c)
- vitepress-twoslash: Escape Vue syntax - by @antfu (ef7b6)