PDF (paginated) export issues (Marked 3)

Viewed 12

I'm using Marked 3 to generate a paginated PDF of my course syllabus. This document renders fine with Marked 2, but the new v3 engine doesn't seem to like the prior settings. Specifically, page breaks don't show up where expected (sometimes page breaks appear halfway through a line, resulting in letters split across the page) and the MMD custom headers don't work (%md_* always renders as the month followed by "d_*"). Opening the exact same document in Marked 2 exports as expected.

I do use a custom CSS, but the paginated preview is broken using the default Swiss style as well.

MHC200 syllabus.md
Buttondown.css

2 Answers

Help me out with testing and use Help->Report an Issue to get me your actual configuration. In my quick test on your file I got this: https://assets.markedapp.com/Syllabus.pdf , which at a quick glance looks like a perfect export.

Here's two PDFs, one from Marked 2, the other from Marked 3 (same markdown source). I notice the Marked 3 version also displays the manual page break watermark… Marked 3 config also attached. I see your export also has trouble with the manual page breaks (should be a break before and after the CUNY policies insert).

MarkedConfig.zip
MHC200 syllabus.pdf (Marked 2)
MHC200 syllabus_m3.pdf (Marked 3)