Confluence Document - Add a Page Break

Justin_51
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2022

Title says it all. I am working on a confluence document and need to add page breaks.

I can't figure out how to do this. I don't see an "insert > page break" option. Searching online tells me to create macros, but I don't have the interface options they say to use. I saw a post online that said macros/page breaks are not available to free accounts.

What is the easiest way to add a page break? Is there not a simple button in the confluence tool?

I am using confluence online if that matters. (nothing downloaded)

3 answers

1 vote
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 12, 2022

Hi @Justin_51 

Welcome to the Community!!

It's not available yet in Confluence

There are feature requests on this though 

https://jira.atlassian.com/browse/CONFCLOUD-28115

https://jira.atlassian.com/browse/CONFCLOUD-36146

For now as an alternative

If you need this exporting the page to PDF, follow the link below

https://confluence.atlassian.com/confcloud/customise-exports-to-pdf-724764825.html#CustomizeExportstoPDF-PageBreaks

You could use Scriptrunner to define the page break macro to include this in the page

Let me know if you have queries

Full explanation here --> https://community.atlassian.com/t5/Confluence-questions/How-do-I-insert-page-breaks-for-PDF-Export-with-the-quot-new/qaq-p/1209354

Thanks,
Pramodh

Justin_51
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2022

I need to choose the placement of a page break, not at the top of every page (i think that's what is being suggested in the linked thread).
The full explanation thread you linked looks like a team member communicating macros are being deprecated, but is from 2019 referencing changes in 2017 so maybe it has changed.

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 12, 2022

Hi @Justin_51 

As I given the feature requests link Atlassian team will work on bringing the feature of page break. 

But for now if you need it, buy Scriptrunner plugin and build a macro

Even though the links are from 2019, the information is relevant to till date 🙂

Please go ahead and mark the answer as accepted so that other users will also be benefited when they search for this requirement

Let me know if you have any queries

Thanks,

Pramodh

0 votes
David Canizares
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 11, 2024

I personally add html code with : 

<div style="page-break-before:always"> </div> <!-- simulates a break page to do the pdf export properly -->

It's hidden in confluence and makes the page break in pdf export

0 votes
Matt Reiner _K15t_
Atlassian Partner
February 14, 2022

Hey @Justin_51

You could also use my team's app Scroll PDF Exporter which has macros for page breaks and many other types of document formatting which enable you to totally customize the final document.

https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?tab=overview&hosting=cloud

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events