Skip to content

Compatibility Build

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 versionNPM downloadsGitHub

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.

Released under the MIT License.