fix: shiki load basic languages initially

zio/stable
三咲智子 2022-12-03 01:40:02 +08:00
parent 1c5ecb678b
commit a58e9ce8bd
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ export function highlightCode(code: string, lang: Lang) {
'vitesse-light', 'vitesse-light',
], ],
langs: [ langs: [
'js',
'css',
'html', 'html',
], ],
}) })