html2docx
html2docx copied to clipboard
Addin page breaks?
I'm using html2docx to generate parts of scientific papers by replacing values in Jinja2 templates. That is, I write a jinja2 template in HTML and insert values generated from code (either literal text in a paragraph or table or entire tables or figures; I even have a rudimentary reference management system for this). It would be useful if I could add pagebreaks somehow.
I believ the semantically correct way of adding page breaks to HTML would be something like the following:
<p style="page-break-after: always;"> </p>
What do you think about adding this? I can work on it.
Sorry for the slow reply. Happy for you to add this.
also needing this