This raises an interesting problem.
I’ve been using TextExpander for years, and have many such snippets in it, including Na±K±ATPase, pKa, O2-• and many other chemistry/biochem/cell bio snippets. Oddly, in spite of working with H2O2 extensively in the past (my research has mostly involved oxidative stress and antioxidant defenses), I do not have that one. (But I do now!)
I found soon after I joined MPU forum started that Discourse won’t honor the formatting, but my snippets include the superscripts and subscripts. I’m not inclined to add them right now because I’m sure you know what I mean.
So I looked at Textexpander (version 6.2.8) just now to see why you couldn’t make the same kinds of snippets and found that superscripts and subscripts have been removed from the formatting options. That’s disappointing. I created these on, I’d guess, version 4 and I’m sure I created some in Version 5, too. So this ability has been removed in Version 6.
Even stranger, when I use the snippets in Mail, MS Word, and so on, (but not Discourse) the formatting is honored, even though those formatting options have apparently been removed from TE’s own editor.
I did come up with a workaround, but it’s disappointing that I should have to do this.
I created H2O2 in Word, properly formatted with subscripts, and copied it into TE, selected “Formatted Text, Pictures” in the Content dropdown, assigned the shortcut, and used TE to add H2O2 to a document, and it works fine. So you need to do the formatting outside of TE and paste it in.
Thanks for posting this – now I have an H2O2 snippet!