This question already has an answer here:
I am looking for an offline, real-time-rendering TeX editor similar to what you find at https://math.stackexchange.com/questions/ask. It would be nice to have the ability to edit, save, and render the complete document offline, without requiring the reader to install any libraries. (so
Has anyone managed to create and share an offline implementation of MathJax or similar?