I’ve searched both the documentation and online but couldn’t find a solution to my issue.
For my work, I frequently export notes to PDF. I’ve tried several plugins, but none of them allow me to control the page layout.
Specifically, sometimes I end up with an H1 or H2 heading positioned at the very bottom of a page (for example, page 1), whereas I would prefer it to start at the very top of the next page (page 2).
Well, my technique consisted of you explicitly marking where you want page breaks by writing three dashes in the markdown (which are previewed as a solid line but converted to invisible page breaks in the PDF).