//shiki-esbypi0

shiki-es

Standalone build of shiki fully compatible with all ESM environments.

48
5
48
1
TypeScript

shiki-es

Standalone build of shiki fully compatible with all ESM environments.

[!IMPORTANT]
Please migrate to shikiji

Usage

Install:

#pnpm
pnpm i shiki-es

# npm
npm i shiki-es

# yarn
yarn add shiki-es
import { getHighlighter } from "shiki-es";

const highlighter = await getHighlighter({ theme: "nord" });

console.log(highlighter.codeToHtml(`console.log('shiki');`, { lang: "js" }));

License

MIT

[beta]v0.13.0