{{type:}}
field
Adds three 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 when checking the answer.ignore_punctuations
makes the type field ignore punctuation marks when checking the answer.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
Tools
in the Anki Toolbar.- Select the Card that has the
{{type:}}
fields.- Click
Cards
button on the right.- TA DAAAAAA!
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**.
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.
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.