You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be neat if some markdown, HTML, or CSS sentinel value could be interpreted by mdpdf as a "page break."
I love this tool, but often spend a lot of time futzing with CSS, or tweaking copy, to e.g. get a heading to flow to the next page (rather than dangling at the end of a page, with its content starting on the next page).
A couple options, off-hand:
--hr-page-breaks: interpret Markdown --- (normally an HTML <hr/> tag) as a page break
<div class="page-break"></div> or similar
The text was updated successfully, but these errors were encountered:
It would be neat if some markdown, HTML, or CSS sentinel value could be interpreted by
mdpdf
as a "page break."I love this tool, but often spend a lot of time futzing with CSS, or tweaking copy, to e.g. get a heading to flow to the next page (rather than dangling at the end of a page, with its content starting on the next page).
A couple options, off-hand:
--hr-page-breaks
: interpret Markdown---
(normally an HTML<hr/>
tag) as a page break<div class="page-break"></div>
or similarThe text was updated successfully, but these errors were encountered: