Similarly to {{field}}
and {{text:field}}
, I am trying to create my own field descriptor. In order to do this, I need to know what function to hook. I do not know whether Anki pre-compiles cards into HTML or produces them on-the-fly during study, so I don't know where to begin to look for this function - I haven't found any existing add-ons that do this so I can't look at how they implemented it.
What function should I hook to implement special field descriptors in cards?