travs / markdown-pdf

Convert markdown to pdf, png or jpeg on the fly in Atom
MIT License
262 stars 44 forks source link

Shows backslash used to force line break #206

Open w4jbm opened 5 years ago

w4jbm commented 5 years ago

In markdown documents where the backslash character is used to force a line break, the backslash character is displayed in the PDF.

Line 1\
Line 2

Will normally display as:

Line 1
Line 2

But when rendered to a PDF, it is showing the backslash that was used to force the line break.

The file was was trying to print is found here:

https://github.com/w4jbm/6502/blob/master/OSI_gc_bug.md

A very minor annoyance and I know there are other ways I can force a line break (like a double space at the end of the line) that would probably allow me to work around this.

travs commented 4 years ago

This is being tracked over here: https://github.com/showdownjs/showdown/issues/394

It will be incorporated when it's solved upstream.