chore(deps): update all non-major dependencies (v3) (#3231)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Farnabaz <farnabaz@gmail.com>
This commit is contained in:
renovate[bot]
2025-02-04 14:59:28 +01:00
committed by Benjamin Canac
parent 961711c7b7
commit ac08569a34
4 changed files with 202 additions and 187 deletions

View File

@@ -1,10 +1,10 @@
import { createHighlighterCore } from 'shiki/core'
import type { BuiltinLanguage, HighlighterCore } from 'shiki'
import loadWasm from 'shiki/wasm'
import MaterialThemeLighter from 'shiki/themes/material-theme-lighter.mjs'
import MaterialThemePalenight from 'shiki/themes/material-theme-palenight.mjs'
import VueLang from 'shiki/langs/vue.mjs'
import MarkdownLang from 'shiki/langs/markdown.mjs'
import { createOnigurumaEngine } from 'shiki/engine/oniguruma'
export const highlighter = shallowRef<HighlighterCore>()
@@ -16,7 +16,7 @@ export function useShiki() {
highlighter.value = await createHighlighterCore({
themes: [MaterialThemeLighter, MaterialThemePalenight],
langs: [VueLang, MarkdownLang],
loadWasm
engine: createOnigurumaEngine(import('shiki/wasm'))
})
}