Adding classes to links

Is there any other (built-in) way to add classes to links than just doing it in HTML instead of Markdown? I just ended up in this issue because I need to add “flags” for languages to reference links in my posts. Markdown seems in it’s “unextended” version unable to do that.

It wouldn’t be too much of an issue to implement that via shortcode though… but I don’t want to reinvent anything.


A shortcode is the best way to do this.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.