Unless I’m hallucinating there is a general fix achievable in 3, relatively, simple steps:
Create files for each template in an external folder according to some naming structure like:
Whenever a template changes in Anki, update the corresponding files
Whenever a file changes push the changes into Anki and refresh the open previewer.
Now one could use any editor without ever editing in Anki and get live updates on the effect of the changes. One could manage and share templates via git repositories. One could set up any type of build or even a site generator to create one’s templates. As long as it eventually updates those files things would just work.
Is there some reason why this would not work or would be hard to implement?
If someone could point me in the right direction on how to watch for changes in the templates within Anki, and read/write data from them, I might just give implementing this as an addon myself a shot. I might be dreaming, but it seems like it should be reasonably easy