How to hide Icons before external links in Dokuwiki

Original link:

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,.page a.mail,.page { 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:
This site is for inclusion only, and the copyright belongs to the original author.