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

main
wanglong001 2 years ago committed by GitHub
parent 7583985f44
commit 226ce2bded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save