Pandoc style superscript and subscript

Use case or problem

Obsidian currently can render superscript and subscript using HTML tag <sup> and <sub>, or mathjax $^{ }$ and $_{ }$. However, the HTML tag does not recognized by pandoc by default without a filter, and using mathjax for units like $m^2$ is fine but can be really painful for long sentences.

Proposed solution

Allow the render of the pandoc style super- and subscripts such as m^2^ and CO~2~

Current workaround (optional)

Current workaround is simply ignore the fact that ^^ and ~~ are not rendered in Obsidian, and send the markdown as it is to Pandoc.

Related feature requests (optional)

Question about superscripts and subscripts

3 Likes

Second!