Producing subscripts in R markdown
I'm aware that R markdown can produce superscripts: text^superscript But is it possible to produce proper subscripts? Or is the only way to do so to cheat and use LaTeX math mode: $\sf{text_{subscript}}$ The intended final output is HTML. A5C1D2H2I1M1N2O1R2T1 Since you mention Pandoc in your comments, maybe it's not cheating to depend on Pandoc's extensions for subscript and superscript . From here , we can create a minimal example Rmd file: Testing Subscript and Superscript ======================================================== This is an R Markdown document. Pandoc includes numerous