Hi everyone,
I'm trying to add page numbers to the table of contents (TOC) in a Confluence PDF export:
div.toc a::after { content: leader('.') target-counter(attr(href), page); }
However, I’ve noticed that in PDF Export v2, these CSS properties (target-counter()
and leader()
) are no longer supported. This means that automatic page numbering in the TOC no longer works in the exported PDF.
My question:
Is there another way to add page numbers to the TOC in Confluence's PDF export system?
@Ray Mackaaij Welcome to the Atlassian Community.
I haven't had a need to generate a PDF from Confluence for a while, but I just tried it, and my TOC has page numbers.
My settings:
To me, that indicates that something in the PDF Export settings is causing the page numbers to not appear in the output.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.