fix(shiki): do not load languages initially
parent
1ebe48e495
commit
b947931d3b
|
@ -15,6 +15,9 @@ export function highlightCode(code: string, lang: Lang) {
|
|||
'vitesse-dark',
|
||||
'vitesse-light',
|
||||
],
|
||||
langs: [
|
||||
lang,
|
||||
],
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue