{{type:}} field
Adds four options to the {{type:}} field in Anki:
ignore_case makes the type field ignore case when checking the answer.ignore_accents allows the type field to disregard accents and diacritics when checking the answer. For example, 'café' and 'cafe', 'naïve' and 'naive' are treated as the same.ignore_punctuations makes the type field ignore punctuation marks when checking the answer.ignore_extra_words accepts the answer as correct if the typed text contains the correct answer as a substring. Particularly useful for cloze deletion cards where users may type the full sentence instead of just the hidden phrase.The options can be used together or separately.
Simply install the addon on your AnkiDesktop. The changes made by the addon will apply to both AnkiDesktop and AnkiDroid.
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:
- Copy the content of the file
smarterTypeField.min.js.- Paste it in the Back Template of your Anki card like so:
<script> (()=>{"use strict";!function() ....etc..... </script>
The Back Template is the other side of the flashcard, it's the code that's rendered when you show the answer.
![]()
- Click
Toolsin the Anki Toolbar.- Select the Card that has the
{{type:}}fields.- Click
Cardsbutton on the right.- TA DAAAAAA!
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**.
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.
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.