diff --git a/packages/core/src/code-to-hast.ts b/packages/core/src/code-to-hast.ts index 483f9821f..10039b793 100644 --- a/packages/core/src/code-to-hast.ts +++ b/packages/core/src/code-to-hast.ts @@ -71,10 +71,7 @@ export function codeToHast( tokens = codeToThemedTokens( internal, input, - { - ...options, - includeExplanation: false, - }, + options, ) const _theme = internal.getTheme(options.theme) diff --git a/packages/core/src/code-to-tokens-themes.ts b/packages/core/src/code-to-tokens-themes.ts index f32744b90..887e6a259 100644 --- a/packages/core/src/code-to-tokens-themes.ts +++ b/packages/core/src/code-to-tokens-themes.ts @@ -22,7 +22,6 @@ export function codeToTokensWithThemes( ...themes.map(t => codeToThemedTokens(internal, code, { ...options, theme: t.theme, - includeExplanation: false, })), )