Parses the Wikidot superscript formatting syntax: ^^text^^.
Superscript text is delimited by double carets. The opening and
closing markers must appear on the same line. If no closing ^^
is found before a newline, the opening marker is emitted as literal text.
Empty superscript (^^^^) is silently discarded by Wikidot (produces
no output), matching the behavior of bold and subscript.
Renders as a <sup> element in HTML.
Produces a "container" AST element with type: "superscript".
Parses the Wikidot superscript formatting syntax:
^^text^^.Superscript text is delimited by double carets. The opening and closing markers must appear on the same line. If no closing
^^is found before a newline, the opening marker is emitted as literal text.Empty superscript (
^^^^) is silently discarded by Wikidot (produces no output), matching the behavior of bold and subscript.Renders as a
<sup>element in HTML.Produces a
"container"AST element withtype: "superscript".