From d64e1b4d0d8ea32651dd71d18984031f51d5acbb Mon Sep 17 00:00:00 2001 From: jasongao97 Date: Thu, 14 Dec 2023 17:50:10 +0800 Subject: [PATCH] render href in pdf build --- magicbook/stylesheets/components/typography.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/magicbook/stylesheets/components/typography.scss b/magicbook/stylesheets/components/typography.scss index 0b023f17..760b1cb1 100644 --- a/magicbook/stylesheets/components/typography.scss +++ b/magicbook/stylesheets/components/typography.scss @@ -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,