Chemical subscript writing

I’m noting down chemical compounds and I haven’t figured out how to write subscript in MarginNote. Can anyone tell me the shortcut or whatever the best way is to make this possible? Thank you