1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-23 22:56:09 +09:00

fix(shiki): do not load languages initially

This commit is contained in:
Anthony Fu 2022-11-24 12:58:25 +08:00
parent 1ebe48e495
commit b947931d3b

View File

@ -15,6 +15,9 @@ export function highlightCode(code: string, lang: Lang) {
'vitesse-dark',
'vitesse-light',
],
langs: [
lang,
],
})
})
}