SmarterTypeField

Flexible matching for {{type:}} field

⏬🔽⏬

Adds four 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/diacritics, 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?

Simply click the Delete button in the Add-ons dialog. The addon will automatically remove its script tags from all your card templates before deleting itself. No restart needed.

You can also just Toggle Enabled to disable it without uninstalling — the script tags are removed immediately there too.

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.