Packages

@shikijs/transformers

4.6.0 · 2 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed

Your version

4.5.0

1 Oct 2026Where it was published

4.6.0 is the newest release of 4.x.

In short

3 new2 fixed

Release note

The section about @shikijs/transformers of a note shared by several packages.

Features

  • Emit an explicit color level from codeToANSI

  • transformers: Add classActiveCode option to transformerNotationWordHighlight

  • transformers: Add transformerRenderLineNumber

Bug Fixes

  • transformers: Keep notations on content comment lines

  • transformers: Handle split # and -- comments in rose-pine theme

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.