Skip to content

Compatibility Build

WARNING

This is a compatibility build for v0.x users. And this package is no longer maintained since v3. Please migrate to the latest version.

To make deep migration easier, we provide a compatibility build that shimmed the breaking changes from v0.x. You can use it as a drop-in replacement for shiki and migrate step by step.

Installations

NPM version NPM downloads GitHub

Set the alias to shiki in your package.json:

json
{
 "dependencies": {
 "shiki": "0.14.3",
 "shiki": "npm:@shikijs/compat@1.0"
 }
}

Check the breaking changes list to see if you need to migrate anything manually.

AltStyle によって変換されたページ (->オリジナル) /