elliotblackburn / mdpdf

Markdown to PDF command line app with support for stylesheets
https://npmjs.com/package/mdpdf
Apache License 2.0
717 stars 47 forks source link

Fixes #46: remove simple line breaks for GH style #141

Closed kito-inv closed 11 months ago

kito-inv commented 2 years ago

Fixes #46 Before a line break in the md file would generate a line break in the pdf file but to match the way GH renders Markdown it should be rendered in the same line in the pdf file. This PR fixes this.

Here is a before and after of this text:

Hi,
how 
are 
you?

Before: Screenshot from 2022-08-16 15-44-52

After: Screenshot from 2022-08-16 15-45-33

AlexBaranowski commented 1 year ago

@BlueHatbRit sorry for using the handler to get your attention, but it would be wonderful if You could merge this changes. They fixes the #46.

Thank you!

elliotblackburn commented 11 months ago

Sorry for the delay on this, I really don't use mdpdf much these days so find it hard to make time for updates. I've merged this in with a few tweaks 01f2e38e1e85b0839de3c89d0d24c18b20aae5fa. I'll close this PR but it's in master and I'm preparing a release of 3.0.2.