21 6
Sign in to rate

Clickable Tags v1.1

<10kB. Updated 2020-03-22. Only supports Anki 2.1.x.
The author has shared 3 other item(s).


A stripped-down port of the Clickable Tags add-on to Anki 2.1. Just add the {{clickable:Tags}} special field to your card template. The add-on will take care of the rest. Single-click the tag to search for notes with that tag. Double-click to limit the search to the current deck. If you encounter any issues, let me know on GitHub: https://github.com/luoliyan/anki-misc/issues


As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:


If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons


on 1610510074
People who are downvoting should understand that this review section is not for bug reporting, it should be reported on github instead. Great work author.
on 1609773426
2.1.35 not working
on 1592027874
Nothing happens when I click on the tag! Though the cursor shape changes when I hover, but when I click, nothing happens. When I click twice, it shows the pop up dictionary...
on 1591447179
Thank you!
on 1589173004
Awesome add-on!

I started using tags because of this add on :)
on 1585587828
March 23, 2020: This add-on works great, but with the V10 update, it is now showing an error code anytime I try to update it "error downloading 380714095: invalid code or add-on not available ."

Is this because of the switch to clickable tags 2.0?

March 30/2020 UPDATE: I didn't realize that anki released a new updated version of anki. Once I updated, clickable tags started working.
on 1585005422
Same as below
on 1584982933
Ya not working for me (same with the person below me)
on 1584622686
Thanks to the guy that posted the fix for 2.1.22

Great, thank you.

I had to add quotes around tags for it to work.
If someone else is havin this issue:

Simply replace
this line (n°31):
browser.setFilter('tag:%s' % tag)

whith this one
browser.setFilter('"tag:%s"' % tag)
on 1583850981
guys anyone on anki 2.1.20 just copy the code here -> https://github.com/ankitects/anki-addons/blob/master/demos/porting_clickable_tags/__init__.py
then paste it in place of the old code of your __init__.py file of the addon.
In your card's template put {{clickable:Tags}} instead of {{Tags}}. I tried it, it works.
on 1582859108
I'm getting exactly the same error message as reviewer 2/18/2020:
ImportError: cannot import name 'Template' from 'anki.template' (C:\Program Files\Anki\anki\template.pyc)

The message comes up when running anki.exe. I am also on version 2.1.20
on 1582679160
As another reviewer mentioned, I had to edit line 31 to get it to work (maybe since I'm using the Advanced Browser add-on as well?)

browser.setFilter('tag:%s' % tag)

To this...
browser.setFilter('"tag:%s"' % tag)
on 1579448207
Just what I need, very thanks, or I'll take much long time to write such an add-on.
on 1577659463
When it started to work ultra awesome!!!

I would love to see some additional configuration options like edible
- background colour
- fontstyle
- fontcolor, specially one resisting the nightmode overlie
- where it shows up like at the bottom, corner etc.
on 1577365456
So usefull!!...Thank you!
on 1573909817
How could I change the font? I tried with inline style in the front template using this css, but didn't work:

<span class=tags style="font-family:Arial;">
on 1573868502
on 1573651903
on 1569455877
giving a positive rating bc it has worked for all of my friends but i got the "Invalid HTML on card: SyntaxError: Invalid or unexpected token" error code after downloading this add-on, which resolved after i deleted the add-on. Im using Ankiing 3.2 atm
on 1565707799
on 1564129876
it worked!useful
on 1560278532
I also started getting the error "Invalid HTML on card: SyntaxError: Invalid or unexpected token" after installing this add-on
Comment from author
I'm still very strongly of the suspicion that this error occurs when the template is incorrect. But without more information, I can neither confirm nor deny.
on 1559508178
Amazing! How can i change the Tags color? Im having trouble seeing them with a black background
on 1557925622
Finally somebody ported this to 2.1! Regarding the comment below, it works fine for me.
on 1556959300
This addon cause html problem : Invalid HTML on card: SyntaxError: Invalid or unexpected token
Comment from author
No it doesn't. More than likely, you've put something silly in your card template.
on 1554931378
on 1554824460