After searching fruitlessly for CSS options or free macros I have found no solution.
Is there a CSS selector I'm missing?
If you cant handle it with CSS, I decided to build a Macro plugin for Confluence, which allows you to exclude content from your choice of exports (HTML, PDF, Word, etc)
Hi Shannon.
Im not able to see the General Configuration tab in my confluence, could you please advise
My confluence version is 7.13.7.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @niconeiros,
Welcome to Atlassian Community! It's nice to meet you.
I believe you may be referring the following workaround that was mentioned in the Advanced PDF Export Customizations in the documentation for Confluence Server:
Hiding Text from the PDF Output
This section describes a way to hide text from your PDF export. In other words, you can have text on the Confluence page that will not appear in the PDF export.
There are three steps:
Follow the instructions to define the NoPrint user macro.
- Use the NoPrint macro to mark some text on a Confluence page.
- Add the following CSS to your PDF stylesheet to make the PDF export recognize the NoPrint macro:
CSS - PDF STYLESHEET.noprint { display: none ; }
However, as this requires you create a user macro, it is not possible in Confluence Cloud.
See Functional Differences in Confluence Cloud for further details:
User Macros
User macros allow HTML and JavaScript to run in Confluence Cloud, which can affect performance. To see what custom macros can be added to Confluence Cloud, check out the Atlassian Marketplace. Note: To install any of the Confluence Cloud macro apps, you must be the administrator for the Atlassian Cloud site.
Luckily, there are a few add-ons that could help you with this. I would recommend having a look at the PDF add-ons available for Confluence Cloud in the Atlassian Marketplace. I think the Scroll PDF Exporter or NoPrint macro might be a place to start.
Let me know if you have any questions about this!
Shannon
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.