diff --git a/packages/core/src/constructors/bundle-factory.ts b/packages/core/src/constructors/bundle-factory.ts index a1ccedaca..22ef6c60c 100644 --- a/packages/core/src/constructors/bundle-factory.ts +++ b/packages/core/src/constructors/bundle-factory.ts @@ -120,7 +120,7 @@ export function createdBundledHighlighter resolveLang(i as BundledLangs)) const core = await createHighlighterCore({ - engine: engine(), + engine: options.engine ?? engine(), ...options, themes: _themes, langs,