Keep Content Together
You can use the Scroll Content Block macro to mark any content that you do not want to have split across a page break in an export. The contents within the macro will be treated as a block of content, suppressing page breaks to avoid orphans and widows in exported documents.
To use this macro, simply insert the Scroll Content Block macro on your Confluence page and insert the specific content within it – the macro supports Confluence paragraph styles, macros, tables and images. The contents inside this macro will then be kept together and moved to a new page in the export if there is not enough space.
Please note, if the contents included within the Scroll Content Block macro exceed the length of the page, the contents will not be kept together on one page in the export.