Merge pull request #599 from nature-of-code/url-render

Render `href` in pdf build
This commit is contained in:
Yifei Gao 2023-12-16 09:37:27 +08:00 committed by GitHub
commit 332407bc39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,6 +78,11 @@ a {
&:not([href^='http'])::after {
content: ' (see page ' target-counter(attr(href), page) ')';
}
// External links
&[href^='http']::after {
content: ' (' attr(href) ')';
}
}
ol,