[fix] markdown 表格内没有换行 (#1492)

This commit is contained in:
wanglong001
2023-04-17 21:10:36 +08:00
committed by GitHub
parent 7583985f44
commit 226ce2bded

View File

@@ -22,6 +22,7 @@ const { isMobile } = useBasicLayout()
const textRef = ref<HTMLElement>()
const mdi = new MarkdownIt({
html: true,
linkify: true,
highlight(code, language) {
const validLang = !!(language && hljs.getLanguage(language))