The document is only used for theme display, please go to the official site for the latest Vuepress documentation
shiki
This plugin will enable syntax highlighting for markdown code fence with Shikiopen in new window.
TIP
Shikiopen in new window is the syntax highlighter being used by VSCode. It has higher fidelity, but it is slower than Prism.jsopen in new window.
You could consider disabling this plugin in dev
mode to get better development experience.
Options
theme
Type:
IThemeRegistration
Default:
'nord'
Details:
Theme of shiki.
This option will be forwarded to
getHighlighter()
method of shiki.Also see:
langs
Type:
(Lang | ILanguageRegistration)[]
Default:
[]
Details:
Languages of shiki.
This option will be forwarded to
getHighlighter()
method of shiki.If no languages are provided, shiki will load all available languages automatically.
Also see: