Requirements:
You need to write some formulas in Markdown that involve upper and lower indices. For example, 2n, TA, etc.
To deal with
Markdown syntax can be nested with HTML syntax, so just refer to the upper and lower scripts in HTML.
The sample
Writing:
2<sup>n</sup>
T<sub>A</sub>
Copy the code
Final result: 2n TA
Appendix: HTML <sup>, <sub> tags
The tag defines superscript text. The content contained in the tag and its closing tag will be displayed at half the height of the character in the current text stream, but with the same font and size as the text in the current text stream. Details: HTML tag
The tag defines subscripted text. The content contained in the tag and its closing tag will be displayed at half the height of the character in the current text stream, but with the same font and size as the text in the current text stream. Details: HTML tag