29 lines
1,023 B
JavaScript
29 lines
1,023 B
JavaScript
|
import { bundledLanguages } from './langs.mjs';
|
||
|
export { bundledLanguagesAlias, bundledLanguagesBase, bundledLanguagesInfo } from './langs.mjs';
|
||
|
import { g as getWasmInlined } from './chunks/wasm-dynamic.mjs';
|
||
|
import { bundledThemes } from './themes.mjs';
|
||
|
export { bundledThemesInfo } from './themes.mjs';
|
||
|
import { createdBundledHighlighter, createSingletonShorthands } from '@shikijs/core';
|
||
|
export * from '@shikijs/core';
|
||
|
|
||
|
const createHighlighter = /* @__PURE__ */ createdBundledHighlighter(
|
||
|
bundledLanguages,
|
||
|
bundledThemes,
|
||
|
getWasmInlined
|
||
|
);
|
||
|
const {
|
||
|
codeToHtml,
|
||
|
codeToHast,
|
||
|
codeToTokens,
|
||
|
codeToTokensBase,
|
||
|
codeToTokensWithThemes,
|
||
|
getSingletonHighlighter
|
||
|
} = /* @__PURE__ */ createSingletonShorthands(
|
||
|
createHighlighter
|
||
|
);
|
||
|
const getHighlighter = (options) => {
|
||
|
return createHighlighter(options);
|
||
|
};
|
||
|
|
||
|
export { bundledLanguages, bundledThemes, codeToHast, codeToHtml, codeToTokens, codeToTokensBase, codeToTokensWithThemes, createHighlighter, getHighlighter, getSingletonHighlighter, getWasmInlined };
|