It appears that CSS "h2 { break-before: always }" is being ignored in Marked 3, at least as rendered in Print Preview.
It appears that CSS "h2 { break-before: always }" is being ignored in Marked 3, at least as rendered in Print Preview.
Do you mean in a custom style? The PDF/print preview no longer uses WebKit's print system, so is not affected by most webkit CSS rules. That said, it should recognize page-break-before. If you want to share an example document and your custom style, I can test.
It's a custom stylesheet.
To help you debug the issue I'll attach:
The CSS indicates that there should be a page break before each of the H2 headings, such as "Apple Cider-Sage Vinaigrette" and "Apple Crisp".


