From c475ed3857b2dbdc81f6fce83f84fedcc957a8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Fri, 25 Nov 2022 15:55:54 +0800 Subject: [PATCH] fix: don't load all languages for code --- composables/shiki.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/composables/shiki.ts b/composables/shiki.ts index 1b43ab32d..5ca29fd33 100644 --- a/composables/shiki.ts +++ b/composables/shiki.ts @@ -15,6 +15,7 @@ export function highlightCode(code: string, lang: Lang) { 'vitesse-dark', 'vitesse-light', ], + langs: [], }) }) }