You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have documented steps to complete a task, in a page, and I would like to export this page to a PDF. I've done this in the past at it worked great.
Something has changed and I don't know what I'm doing wrong.
Exporting the page to PDF works fine, however now readers cannot copy the code from code blocks in a useful way.
The copy includes the page numbers rendering it useless. Of course a user could go line by line and remove the numbers (hard thing to script in VI or other editors.)
Does anyone have an idea for a workaround?
The numbers have always exported when I have done this in the past. Was your code in a code block in the past? If you are in the confluence page you can easily copy the code without the numbers, could that have been what you did in the past?
Hi Brant, Thanks for your reply.
I've done this in the past at it worked great. I still have the older documents produced this way.
Yes, I'm sure the code was in a code block before.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David Fitzjarrell Do you have access to the old pages in Confluence? Can you look at them to see what the code block settings are an if they will still export without the numbers?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The page settings look the same to me.
The page this worked on previously no longer works. The page numbers are there as well.
The last time this worked was before the new editor.
Do you think that has something to do with it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David Fitzjarrell Do you have any pages that use the old editor still that you could test this out on? It could be the new editor as it does impact certain aspects of the page but it would be good to confirm.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David Fitzjarrell the response on this page is probably the best. The issue is you will have to look at the editor to see which could take a while sorting through pages. Maybe the older the page the better https://community.atlassian.com/t5/Confluence-questions/How-do-you-know-which-editor-a-page-uses/qaq-p/1412049
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.