Open INOPIAE opened 5 months ago
What do you mean with placeholder?
May be somthing similar to <!--TOC-->
e.g. <!--pbr-->
and replace the placeholder during HTML creation with <div style="page-break-after: always"></div>
I am not super convinced by this tbh. It's a feature that's neither in any Markdown spec nor exists in any other parser.
While the <div style="page-break-after: always"></div>
is quite bulky, it's at least a common and documented way of inserting page breaks, that would work with other converters as well.
That's also why I changed the TOC placeholder a bit, to do it similarly as other parsers.
Add a placeholder for manual page break so a manual page break can be added for the pdf output instead of using
<div style="page-break-after: always"></div>
in markdown document.