From b150d6d65ef2c05639ffc17befe71f8139b04881 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 30 Nov 2022 15:15:26 +0800 Subject: [PATCH] fix: shiki don't load all lang --- composables/shiki.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/composables/shiki.ts b/composables/shiki.ts index 67e6d7fed..8bee2a8bd 100644 --- a/composables/shiki.ts +++ b/composables/shiki.ts @@ -15,7 +15,9 @@ export function highlightCode(code: string, lang: Lang) { 'vitesse-dark', 'vitesse-light', ], - langs: [], + langs: [ + 'html', + ], }) }) }