Superscripts and Subscripts

I am sure this is possible and it is just a coding thing I don’t know but how can I add a superscript or subscript for chemical formulas into a snippet? for example Cl2

Hi Amanda, this has been asked before and this is currently the best way to achieve it that I’m aware of:

https://community.textexpander.com/t/preserve-perfect-formatting-with-this-javascript-html-snippet-hack/

I would be happy to help you create the Snippet you need.

Hi @AmandaEdson ,

I saw your question and I thought a visual might be helpful in addition to the community post.

You can see an example of how to do this in this video :backhand_index_pointing_right: https://share.zight.com/YEuYKnp1

While the example is different the concept and steps are the same.

If you still need a hand don’t hesitate to reach out to us at support@textexpander.com where you can get a much faster response :slight_smile:

I hope this helps, and I hope you have a great day!

All the best,
-Nick

@NickKreiter thanks so much! That helps a lot because I am not adept at coding but have picked up bits and pieces which makes it even harder since I don’t know what I don’t know :smiley: Also I am going to play around because editing in word allows me to do a lot of the things I have been wishing for that have been tricky. I am excited to give it a try!

I’m so glad to hear this helped!

Let us know if you get stuck :grinning_face: