diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index fcf6ef1e0..2ba4ec6f2 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -7,7 +7,7 @@ export { loadWasm } from './oniguruma' export { getShikiInternal, setDefaultWasmLoader } from './internal' export { codeToThemedTokens, tokenizeWithTheme } from './code-to-tokens' export { tokenizeAnsiWithTheme } from './code-to-tokens-ansi' -export { codeToHast } from './code-to-hast' +export { codeToHast, tokensToHast } from './code-to-hast' export { codeToHtml, hastToHtml } from './code-to-html' export { codeToTokensWithThemes } from './code-to-tokens-themes' export { normalizeTheme } from './normalize'