forked from Mirrors/elk
fix(shiki): do not load languages initially
This commit is contained in:
parent
1ebe48e495
commit
b947931d3b
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ export function highlightCode(code: string, lang: Lang) {
|
||||||
'vitesse-dark',
|
'vitesse-dark',
|
||||||
'vitesse-light',
|
'vitesse-light',
|
||||||
],
|
],
|
||||||
|
langs: [
|
||||||
|
lang,
|
||||||
|
],
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue