SmarterTypeField

Flexible matching for {{type:}} field

⏬🔽⏬

Adds three options to the {{type:}} field in Anki:

The options can be used together or separately.

Installation

Simply install the addon on your AnkiDesktop. The changes made by the addon will apply to both AnkiDesktop and AnkiDroid.

FAQ

I want this to work even when I don't have Internet Access.

If you install the addon. This will apply even when you don't have Internet access. But it won't if you chose manual install; Since the script tag above fetches the script, you need Internet. If that's not always available, then:

  1. Copy the content of the file smarterTypeField.min.js.
  2. Paste it in the Back Template of your Anki card like so:
    <script>
    (()=>{"use strict";!function() ....etc.....
    </script>
    

What the Heck is the “Back Template” of my Anki Cards?

The Back Template is the other side of the flashcard, it's the code that's rendered when you show the answer.

How do I get to this “Back Template”?

  1. Click Tools in the Anki Toolbar.
  2. Select the Card that has the {{type:}} fields.
  3. Click Cards button on the right.
  4. TA DAAAAAA!

How does this work?

This add-on checks what you type against the correct answer without worrying about uppercase/lowercase letters, accents, or punctuation. For example, "ÀNKI!" and "Anki" can be treated the same based on your settings. It adds a script to your card templates that use the `{{type:}}` field without changing any existing code. This makes the add-on work on **AnkiDesktop**, **AnkiDroid**, and **AnkiMobile**.

How to uninstall?

Go to Addons->SmarterTypeField->Config and change "enabled" with false, then restart Anki. That's it! You can then delete the addon if you wish by hitting the uninstall button.

Does this work in Anki Version 2.x.xx

I've tested on Anki Version 2.1.48. I would assume it to be working in later versions as well. If not, please open a support ticket above, labeled Issues.