Commit c76b82ab authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

chore: 支持单个换行符

See merge request !199
parents 17381503 7a7d98ad
...@@ -39,7 +39,7 @@ const marked = new Marked().use( ...@@ -39,7 +39,7 @@ const marked = new Marked().use(
return hljs.highlight(code, { language }).value return hljs.highlight(code, { language }).value
}, },
}), }),
{ gfm: true, async: true }, { gfm: true, async: true, breaks: true },
markedKatex(katexOptions), 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