by Leoko · 2y ago · 0 comments
If you want granular control over how your PDF will look with content that is more than one page long, you will have a hard time using html.
CSS actually implements the break-before property to control this https://developer.mozilla.org/en-US/docs/Web/CSS/break-befor... which is also supported by the Print to PDF dialog in modern browsers.