Skip to content

Commit

Permalink
use getSingletonHighlighter
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Oct 15, 2024
1 parent eee1b21 commit 1de9db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Options, Theme, CharsHighlighterOptions } from './types';
import {
type Highlighter,
type CodeToHastOptions,
getHighlighter as defaultGetHighlighter,
getSingletonHighlighter as defaultGetHighlighter,
} from 'shiki';
import { visit } from 'unist-util-visit';
import { toString as hastToString } from 'hast-util-to-string';
Expand Down

0 comments on commit 1de9db1

Please sign in to comment.