Open jeky1950 opened 1 year ago
You can do it with HTML and CSS. Add this to your template.html file: CSS:
.new-page{
page-break-after: always;
}
And everywhere you want a new page, put this empty P tag.
<p class="new-page"></p>
Thank you my friend. Much appreciated. Have a great Christmas.
On Fri, Dec 16, 2022 at 2:50 PM Mihaly Arpad Dani @.***> wrote:
You can do it with HTML and CSS. Add this to your template.html file: CSS:
.new-page{ page-break-after: always; }
And Every where you want a new page, put this empty P tag.
— Reply to this email directly, view it on GitHub https://github.com/mrafiqk/html-pdf-node/issues/86#issuecomment-1354716649, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGBX5VQD3ODEYIMPXP3UFMDWNRQQDANCNFSM6AAAAAARLDZCQU . You are receiving this because you authored the thread.Message ID: @.***>
How to do page breaks