Docs

Sub

Use the sub shortcode to display text in subscript.

Overview  

As an example, the following shortcode displays subscript text.

H2O is a liquid.
markdown
H{{< sub 2 >}}O is a liquid.

Arguments  

The shortcode supports the following arguments:

Name Type Required Default Comment
text string, template.HTML, hstring.RenderedString, hstring.HTML yes Text to render by the element.
Text to render by the element.
On this page
Follow Me

I work on everything coding and tweet developer memes