I have many material which require latex generated images (not just math equations), like complex tables with math, and some tikz pictures. Now I hope to generate those images by Relate, rather than generate them on my pc and then upload them by course git.
Is that a sound functionality?
I find this, which uses a templatetag named latex and uses a subprocess which call latex to generate those images in site media folder, and then render them. For Relate, my current idea is to add an allowed_attribute named latex, which requires a list of string (those latex code), and add a method get_latex_png_uri to do the compilation and conversion work and return a list of uri of those images, so that it can be referred to in the body method of PageBase.