We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 081b571 commit 48c085aCopy full SHA for 48c085a
packages/@vuepress/markdown/src/plugins/codePlugin/resolveHighlighter.ts
@@ -6,6 +6,10 @@ import type { HighlightLanguage } from './languages'
6
// eslint-disable-next-line no-import-assign
7
loadLanguages.silent = true
8
9
+// load some commonly used languages to partially avoid the following issue
10
+// @see https://github.com/PrismJS/prism/issues/2716
11
+loadLanguages(['markdown', 'jsdoc', 'yaml'])
12
+
13
export type Highlighter = (code: string) => string
14
15
/**
0 commit comments