Skip to content

Commit

Permalink
Added anchors pages and links addresses to the PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHeadwar committed Aug 2, 2019
1 parent e89c48f commit ee49873
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions source/css/pdf.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ a {
}

/* add page number to cross references */
a.xref::after {
content: " (page " target-counter(attr(href, url), page) ")";
a[href^="#"]::after {
content: " (p. " target-counter(attr(href, url), page) ")";
}
a[href^="http"]::after {
content: " (" attr(href) ")";
}

0 comments on commit ee49873

Please sign in to comment.