Brett on 30 Aug, 2022 04:02 PM
Unfortunately Marked's PDF output is at the mercy of the WebKit rendering engine, which (like most browsers) takes page-break rules as simple suggestions. Would it help to put intentional page breaks before each image? You could do this by inserting horizontal rules (* * *) and turning on "Replace horizontal rules with page breaks" in Preferences->Export. It all depends on the size and shape of the image as to whether that's a solution or not.
Thank you Brett, I did it but it doesn't works (see attached file)... The goal was to use the same .md files to generate my website (with blot.im) and at the same time to generate PDF portfolios... it seems that I have to wait...