Up until now I added a 'div' macro with style=page-break-before:always; similar to the approach outlined here.
With that now no longer possible in the Cloud versions, anyone have hacks to achieve this? PDF Documentation to external third parties that my business works with can look incredibly amateur when using the default Confluence PDF generator...
Hello Graham,
You are correct in that Confluence cloud does not allow for CSS stylesheets within pages or spaces. However, you are able to apply a CSS stylesheet to the PDF exporter itself. This would allow you to customize how a page or space look when exported to PDF. There is a specific section in the documentation for PDF stylesheets which covers page breaks on export. You can find this at Customize Exports to PDF | Page Breaks.
Alternatively, you may want to review any available add-ons within the Atlassian Marketplace. I found 3 related to PDF exports which can be found at this preset search of Atlassian Marketplace | PDF Export.
I hope you find this information useful and you’re able to adjust your PDF exports as needed.
Regards,
Stephen Sifers
This is really surprising that we can`t control the page layout with basic page-break setting
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.