Disabling links in PDF Export?

I want to do a custom PDF export of a space in order to distribute the content to external/non-Confluence users. The pages export contain links to pages in other spaces.

I've done some searching and found suggestions to manipulate the pointer-events property in the CSS stylesheet, but this doesn't seem to have any impact on the exported product. 

I was able to set the link colors to black so they at least aren't conspicuous, but that's a poor substitute. 

Relevant part of my stylesheet:

a
{
color: black; /* Sets the links to black to mask their presence */
pointer-events: none; /* Hoped to disable links, but doesn't seem to work */
}

Is there any way to truly disable these links?

2 answers

0 votes

Hi, Jeremy,

We tested it here and it's not possible removing the link, although being possible changing the link color.

There is a feature request for it that you can see at Remove hyperlinks from PDF export.

For more information on what can be changed, please check Customize Exports to PDF.

Hi @Jeremy Hranko,

You might want to have a look at our Scroll PDF Exporter.

It let's you allow to control how links

  • to external websites
  • to Confluence

are exported. Both "link types" can be controlled independently, if you disable the links, the link will be removed, and the link text will be rendered as standard paragraph text. Those settings can easily be defined in the Scroll PDF Template Settings.

Scroll PDF Exporter is available on the Atlassian Marketplace. Please feel free to try it out using a free 30day trial license, and get in touch with out support team, if you have any questions.

Cheers,
Nils

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

159 views 3 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you