Produces a file, where the question on the card can not be displayed, because it needs {{MyMedia}}, but I didn't define {{MyMedia}} as a field.
Should there maybe be a check if all fields are present, or should all template items which have no corresponding field be replaced with an empty string?
As I'm currently working on a Rust port of genanki I am quite familiar with the codebase.
I would like to solve this issue, if you can tell me, whether this is intended or not, and if yes, where to insert a check in the codebase.
Produces a file, where the question on the card can not be displayed, because it needs {{MyMedia}}, but I didn't define {{MyMedia}} as a field.
Should there maybe be a check if all fields are present, or should all template items which have no corresponding field be replaced with an empty string? As I'm currently working on a Rust port of genanki I am quite familiar with the codebase. I would like to solve this issue, if you can tell me, whether this is intended or not, and if yes, where to insert a check in the codebase.