For me, because I usually don't have to write a full fledged paper, only short math articles.
I use Pandoc + pandoc-citeproc + mathjax and a Haskell code to make it more useful for writing math on the web. (basically, define theorem enviroments, and allow one to refer to theorems from before) https://github.com/Mgccl/blog/blob/master/mathdoc.hs
It is almost good enough, the only problem is there is no way to number the sections and refer to sections. Note it can be fixed in the output side.
An example: http://www.chaoxuprime.com/posts/2014-03-08-even-cycle-in-a-...