Added anchors pages and links addresses to the PDF

This commit is contained in:
Ed Ward 2019-08-02 12:01:53 +02:00
parent e89c48ffdf
commit ee498733ff

View File

@ -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) ")";
}