diff --git a/magicbook/stylesheets/components/typography.scss b/magicbook/stylesheets/components/typography.scss index c9c2da2a..0e91ab5f 100644 --- a/magicbook/stylesheets/components/typography.scss +++ b/magicbook/stylesheets/components/typography.scss @@ -87,7 +87,8 @@ a { color: inherit; // Internal links - &:not([href^='http'])::after { + // for the ones include '#' but not at the end + &:not([href^='http'])[href*='#']:not([href$='#'])::after { content: ' (see page ' target-counter(attr(href), page) ')'; }