docs: improve config display

This commit is contained in:
Benjamin Canac
2024-02-06 19:51:21 +01:00
parent d0f4530e85
commit 7c74c2f22a
4 changed files with 19 additions and 13 deletions

View File

@@ -5,6 +5,7 @@ import MaterialThemePalenight from 'shiki/themes/material-theme-palenight.mjs'
import HtmlLang from 'shiki/langs/html.mjs'
import MdcLang from 'shiki/langs/mdc.mjs'
import VueLang from 'shiki/langs/vue.mjs'
import YamlLang from 'shiki/langs/yaml.mjs'
let highlighter
export const useShikiHighlighter = () => {
@@ -18,10 +19,11 @@ export const useShikiHighlighter = () => {
bundledLangs: {
html: HtmlLang,
mdc: MdcLang,
vue: VueLang
vue: VueLang,
yml: YamlLang
}
})
}
return highlighter
}
}