vscode-markdown-pdf icon indicating copy to clipboard operation
vscode-markdown-pdf copied to clipboard

The generated PDF doesn't break lines as the same in markdown

Open kaiwenli325 opened this issue 4 years ago • 1 comments

Environment: win10 + VScode + markdown-pdf 1.4.4 Problem: I typed some test texts in markdown and used markdown-pdf to generate a pdf. 图片 However, the line break between "something 2" and "something 3" is missing. 图片

How to fix it?

kaiwenli325 avatar Jul 04 '21 11:07 kaiwenli325

Hi,

Viscose works to the CommonMark specification of Markdown. CommonMark doesn't require an extra carriage-return, so your example looks fine in VSCode.

Many other Markdown renderers require an extra CR. Just hit Enter an extra time after the heading and it will render fine.

upyesp avatar Jul 28 '21 09:07 upyesp