Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@shikijs/vscode-textmate

shikijs6.9mMIT10.0.2TypeScript support: included

Shiki's fork of vscode-textmate

readme

Fork of microsoft/vscode-textmate

Changes make in this fork:

  • Change all async operations to sync; onigLib option now required to be resolved instead of a promise.
  • Use tsup to bundle the lib, ship as a single file ES module.
  • Remove debug flags and some other unnecessary exports.
  • Convert EncodedTokenAttributes from namespace to class, rename to EncodedTokenMetadata
  • Support RegExp literals in grammar object (#3)