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:

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 vote

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.


Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

461 views 19 9
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