Skip to content

Commit

Permalink
fix(core): createdBundledHighlighter allow user to override engine
Browse files Browse the repository at this point in the history
antfu committed Sep 1, 2024

Verified

This commit was signed with the committer’s verified signature.
scala-steward Scala Steward
1 parent 513224f commit b59e487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/constructors/bundle-factory.ts
Original file line number Diff line number Diff line change
@@ -100,10 +100,10 @@ export function createdBundledHighlighter<BundledLangs extends string, BundledTh
.map(i => resolveLang(i as BundledLangs))

const core = await createHighlighterCore({
engine: engine(),
...options,
themes: _themes,
langs,
engine: engine(),
})

return {

0 comments on commit b59e487

Please sign in to comment.