I like the LaTeX syntax highlighting in emacs through AUCTeX, but for various reasons like to write my LaTeX documents in Google Drive. I wanted to write a Google Script to do LaTeX syntax highlighting directly in my Google Drive LaTeX documents.
I've looked around online to see if people have attempted this. I've seen the source code for latex-lab, which is a standalone online editor, that reads from Google Drive. I would prefer writing directly in Google Drive itself. The code uses codemirror, and has a latexparser JavaScript that seems like it shouldn't be too painful to port to Google Script.
My main question is: does this sound feasible? I don't want to dedicate the time if it's just going to turn out too slow, or if someone has already written such a script.