diff --git a/app/composables/shiki.ts b/app/composables/shiki.ts index 47e2aa16..465750f3 100644 --- a/app/composables/shiki.ts +++ b/app/composables/shiki.ts @@ -11,8 +11,8 @@ export function useHighlighter(lang: Lang): { } { if (!shikiImport) { shikiImport = import('shiki') - .then(async ({ getHighlighter }) => { - highlighter.value = await getHighlighter({ + .then(async ({ createHighlighter }) => { + highlighter.value = await createHighlighter({ themes: [ 'vitesse-dark', 'vitesse-light',