corollari/ankiTab

Support "type:" fields

telotortium opened this issue · 2 comments

I'd love to be able to type the answer on my cards whose templates contain {{type:FieldName}} (see manual). It appears that Anki renders this to [[type:FieldName]] on the card, and then uses some sort of custom processing in the Python code to insert the type field (see https://github.com/dae/anki/blob/918c426/anki/collection.py#L568). It might be possible to query the contents of the field using AnkiConnect and use JS to fix up the card contents.

I'll look into it but couldn't this be implemented in ankiConnect so that all extensions using it handle this properly?

Not being able to view some cards due to this issue. Any workarounds available?