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'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.