Skip to content

Commit

Permalink
Merge pull request #599 from nature-of-code/url-render
Browse files Browse the repository at this point in the history
Render `href` in pdf build
  • Loading branch information
jasongao97 committed Dec 16, 2023
2 parents d8a260b + d64e1b4 commit 332407b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions magicbook/stylesheets/components/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 332407b

Please sign in to comment.