Commit 7a7d98ad authored by nick zheng's avatar nick zheng

chore: 支持单个换行符

parent 975e183d
......@@ -39,7 +39,7 @@ const marked = new Marked().use(
return hljs.highlight(code, { language }).value
},
}),
{ gfm: true, async: true },
{ gfm: true, async: true, breaks: true },
markedKatex(katexOptions),
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment