The document is only used for theme display, please go to the official site for the latest Vuepress documentation
prismjs
This plugin will enable syntax highlighting for markdown code fence with Prism.jsopen in new window.
Options
preloadLanguages
Type:
string[]
Default:
['markdown', 'jsdoc', 'yaml']
Details:
Languages to preload.
By default, languages will be loaded on demand when parsing markdown files.
However, Prism.js has some potential issuesopen in new window about loading languages dynamically. To avoid them, you can preload languages via this option.