diff --git a/plugins/plugin-shiki/src/node/shikiPlugin.ts b/plugins/plugin-shiki/src/node/shikiPlugin.ts index 08c56f0d09..0cf1a0338f 100644 --- a/plugins/plugin-shiki/src/node/shikiPlugin.ts +++ b/plugins/plugin-shiki/src/node/shikiPlugin.ts @@ -1,15 +1,14 @@ import type { Plugin } from '@vuepress/core' -import { - - - getHighlighter - - - - - +import { getHighlighter } from 'shikiji' +import type { + BundledLanguage, + BundledTheme, + LanguageInput, + SpecialLanguage, + StringLiteralUnion, + ThemeRegistration, + ThemeRegistrationRaw, } from 'shikiji' -import type {BundledLanguage, BundledTheme, LanguageInput, SpecialLanguage, StringLiteralUnion, ThemeRegistration, ThemeRegistrationRaw} from 'shikiji'; const defaultTheme = 'nord'