html2docx icon indicating copy to clipboard operation
html2docx copied to clipboard

Addin page breaks?

Open tmbb opened this issue 3 years ago • 2 comments

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;">&nbsp;</p>

What do you think about adding this? I can work on it.

tmbb avatar Jan 01 '22 13:01 tmbb

Sorry for the slow reply. Happy for you to add this.

pqzx avatar Mar 08 '22 07:03 pqzx

also needing this

unknowncoder05 avatar Mar 29 '22 22:03 unknowncoder05