Link Page Number

Add page number information after local links.

Overview

Resource location:@import url("https://jorsek.github.io/pdfgen.github.io/styles1.1/modules/styling/link_page_number.css");
link page number

Common Customizations

You can apply customizations by pasting the following code snippets under the @import rules.

Change the label text
link page custom number
/* Custom page number label */
article a[href]::after {
    content: " [ page " target-counter(attr(href), page) " ]";
}
/* Remove page number labels for glossary links. */
article a[href*="glossentry"]::after {
    content:"";
}
/* Remove page number labels for external links. */
article a[href*="https:"]::after,
article a[href*="mailto:"]::after {
    content:"";
}