# MathJax mhchem editor

Is there a tool (application, online service) that helps writing the ugly formatting MathJax + mhchem code? I mean things like just typing Ctrl-B to get the selected text to bold is something else then typing $\ce{}$ to get H2O as $$\ce{H2O}$$

I do not mean a WYSIWYG editor like the onsite one, or stackedit.io (MathJax only). I mean the help with actual writing the formatting metacharacters. Like macro expansions, buttons for formatting or similar.

As the requirements for a fancy, typographically correct text does not seem to be balanced with the support of available editor tools.

I do not think MathJax + mhchem is difficult. Just boring and inconvenient to write the code, so any tool help is welcome.

The drawback of the extensive MathJax formatting by others, even if well intended, is, that one may not be able to edit his own formulas anymore. As they may become so complicated one may lose the track of the formula structures and hierarchies, getting into code pairing hell. :-(

I suppose such formatting should not be done soon after last editing, in case the question/answer author is going to update the text.

• I am only aware of this editor, which has a bit of click-it-together codecogs.com/latex/eqneditor.php It does not support mhchem. This one also came up, same issue: latex4technics.com Mar 25 '19 at 17:36
• I do not say it is that difficult to understand, I guess I have already got the most of typical usage. the communiuty help is here as well. It is rather very inconvenient to type it. Imagine you would use MathJax-like formatting of rich text in Microsoft Word or like. Mar 25 '19 at 17:46
• I personally have nightmares trying to use the tools that come with Word, but that is my personal preference. I use privately latex, but I am forced to work with Microsoft products at work. So what you find inconvenient is exactly the other way around for me. I recognise that this has a bit of a learning curve, but apparently that is the best Stackoverflow is able to offer. Mar 25 '19 at 17:58
• I spend much less time by writing the context than by formatting it. the fact I am not a great keyboard typer does not help either. Mar 25 '19 at 18:09
• I copy and paste as much as I can, often from the OPs question when I answer a question. That way, I don't have to format the chemical equations that are already in the question. Mar 29 '19 at 18:40
• Yes, I do that too. :-) Mar 29 '19 at 18:41