Hey Yakov,
I haven't used the mathjax plugin. What's the user experience, i.e.
how do you insert/edit formulas? I imagine MathQuill would be a very
smooth UX, though.
I understand your frustration. It is not easy to debug let alone
produce code in etherpad. And John obviously has very little time to
deal with support.
Now about your question: mathquill can probably be integrated in
hive.js. The way to do this is actually to write (or find) a
mathquill plugin for ckeditor, the rich text editor used in hive.
This could either be achieved inline like e.g. tables or (less sexy)
with a modal inside of which sits a mathquill box. With the former
you probably need to write some non-trivial code that handles other
people inserting mathquill sections into the document. The hive rich
text package uses dom-ot <
https://github.com/marcelklehr/dom-ot
to sync the raw DOM, so there's some magic involved that needs to be
treated with care. I'm not sure if dom-ot+ckeditor is the way to go,
though. ProseMirror might be a better solution. This depends of
course on how wel your adventure with integrating mathquill goes --
if we find it doesn't work out with dom-ot+ckeditor we can think
about replacing that combo with ProseMirror (or adding that as an
alternative). ckeditor + a modal that contains a mathquill box
should always be possible, though.
There are multiple ways you could integrate mathquill in etherpad as
well as there are multiple ways to integrate it in hive. I daresay
that such two plugins would share very little code aside from
mathquill.
I hope this helps you in your decision on how to go forward. If you
decide to look into creating a hive/ckeditor plugin, I'd be happy to
assist you.
Cheers,
Marcel