docs: add postcss shiki lang highlighter

This commit is contained in:
Benjamin Canac
2024-02-07 14:12:53 +01:00
parent 843a978644
commit 0c8a649035

View File

@@ -6,6 +6,7 @@ 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'
import PostcssLang from 'shiki/langs/postcss.mjs'
let highlighter
export const useShikiHighlighter = () => {
@@ -20,7 +21,8 @@ export const useShikiHighlighter = () => {
html: HtmlLang,
mdc: MdcLang,
vue: VueLang,
yml: YamlLang
yml: YamlLang,
postcss: PostcssLang
}
})
}