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 14d6641 commit e3baa8fCopy full SHA for e3baa8f
docs/zh/examples/preview-demo.md
@@ -33,7 +33,12 @@ import VMdPreview from '@kangc/v-md-editor/lib/preview';
33
import '@kangc/v-md-editor/lib/style/preview.css';
34
import githubTheme from '@kangc/v-md-editor/lib/theme/github.js';
35
36
-VMdPreview.use(githubTheme);
+// highlightjs
37
+import hljs from 'highlight.js';
38
+
39
+VMdPreview.use(githubTheme, {
40
+ Hljs: hljs,
41
+});
42
43
const app = creatApp(/*...*/);
44
0 commit comments