michaelrsweet / htmldoc

HTML Conversion Software
https://www.msweet.org/htmldoc
GNU General Public License v2.0
206 stars 46 forks source link

Problem with emphasis when converting directly from markdown to pdf #517

Closed PeterHero closed 6 months ago

PeterHero commented 7 months ago

First of all I'd like to thank you for your time and effort you have put in the tool. It stands out among the many, because it is not bloated as some other, but simply converts html or md to pdf.

I encountered incorrect formatting of emphasized or italic text when converting md file to pdf: htmldoc --webpage -f foo.pdf foo.md

When used with html in the middle it works as expected: htmldoc --webpage foo.md | htmldoc --webpage -f foo.pdf -

michaelrsweet commented 7 months ago

Can you attach a sample markdown file that shows this? Also, what version of HTMLDOC are you using?

PeterHero commented 7 months ago

foo.md:

test *test* **test**

version:

$ htmldoc --version
1.9.17
michaelrsweet commented 6 months ago

[master eb3e99f] Fix markdown text styles (Issue #517)