First of all, I'm sorry if this is not the appropriate page to ask, I will delete this thread if necessary.
I want to show a compiled version of some latex document (that should be able to be modified in real time) in my website. Looking at Overleaf and ShareLaTeX, they do this by using a HTML-canvas object. How do they do so? What I'm guessing is they compile is using a normal LaTeX compiler and then convert the PDF to SVG or something like that and upload it to the website. The other option is having a parser that converts
.tex into canvas objects, though this is much harder. Can anyone confirm which of these is the approach they are using, or if it's another?