[fix] markdown 表格内没有换行 (#1492)
This commit is contained in:
parent
7583985f44
commit
226ce2bded
|
@ -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…
Reference in New Issue