code-farmer-i / vue-markdown-editor

A markdown editor built on Vue
https://code-farmer-i.github.io/vue-markdown-editor/
MIT License
1.02k stars 107 forks source link

使用 vuepress 主题时报错 #248

Open toplyb opened 10 months ago

toplyb commented 10 months ago

按照文档照搬的,使用的是按需导入,但是无法支持代码高亮模式,并且使用导入所有语言包的时候,提示找不到 import "prismjs/components/prism-all"

lincenying commented 5 months ago

import "prismjs/components"

试试这个