Docs
Sup
Posted on December 30, 2023 (Last modified on June 7, 2025) • 1 min read • 66 wordsUse the sup shortcode to display text in superscript.
Overview
As an example, the following shortcode displays superscript text.
210 is 1024.
markdown
2{{< sup 10 >}} is 1024.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. |
| Name | Type | Required | Default |
|---|---|---|---|
| text | string, template.HTML, hstring.RenderedString, hstring.HTML | yes | |
| Text to render by the element. | |||