HTML Subscript and Superscript Code
title: Contents
style: nestedList # TOC style (nestedList|inlineFirstLevel)
minLevel: 1 # Include headings from the specified level
maxLevel: 4 # Include headings up to the specified level
includeLinks: true # Make headings clickable
debugInConsole: false # Print debug info in Obsidian console
Overview
The <sub>
and <sup>
elements can be used to display the text as subscript and superscript, respectively.
Code Snippet
// H2O
<p>H<sub>2</sub>O</p>
// (a + b)^2 = a^2 + b^2 + 2ab
<p>(a + b)<sup>2</sup> + a <sup>2</sup> + b <sup>2</sup> + 2ab
Details
About
This note is about …
See Also
Appendix
Note created on 2024-04-18 and last modified on 2024-04-18.
Backlinks
LIST FROM [[HTML - Subscript and Superscript]] AND -"CHANGELOG" AND -"04-RESOURCES/Code/HTML/HTML - Subscript and Superscript"
(c) No Clocks, LLC | 2024