Closed yzlnew closed 4 years ago
Using either marked or markdown-it with breaks=false, and writing markdown files with paragraphs of multi lines causes this issue.
breaks=false
const md = require('markdown-it')({ breaks: false }) console.log(md.render('lorem\nlorem\nlorem'))
<p>lorem lorem lorem</p>
Newline \n is displayed as a space in browser. This plugin doesn't trim newlines.
\n
Using either marked or markdown-it with
breaks=false
, and writing markdown files with paragraphs of multi lines causes this issue.