How to hide Icons before external links in Dokuwiki

Original link: https://www.ixiqin.com/2022/08/30/how-to-hide-out-in-front-of-the-external-links-of-dokuwiki-icon/

When Dokuwiki links to external websites, it will display a small globe icon in front of the link by default. But if you’re like me and find this little icon a little annoying, you can try adding CSS to hide the little globe in front.

You just need to create a userstyle.css file in the /conf folder and add the corresponding CSS to it

 .page a.urlextern,.page a.interwiki,.page a.windows,.page a.mail,.page a.media { padding-left: 0 !important; background: none !important;}

After adding it, execute Shift + Control + R to force the CSS to refresh. After the refresh is complete, you can see that there is no connection to the small globe.

This article is reprinted from: https://www.ixiqin.com/2022/08/30/how-to-hide-out-in-front-of-the-external-links-of-dokuwiki-icon/
This site is for inclusion only, and the copyright belongs to the original author.