Hello,
I have a question about the PDF export feature in Confluence.
The Issue
When I export a page containing a code block to PDF, the entire document is scaled down to fit the width of the code block. As a result, all the text becomes very small and difficult to read.
Suspected Cause
By looking at the page source, I believe the problem is caused by the following attributes being automatically set on the code block:
breakoutMode="wide"
breakoutWidth="1800"
What I Want to Achieve
When exporting to PDF, I would like to adjust the width of the code block to fit within the page margins. (For example, by making the text wrap automatically within the code block, or by setting a maximum width.)
Is there a good way to prevent the entire document from scaling down? Any suggestions, perhaps involving custom CSS, would be greatly appreciated.
Thank you.