Home

Superscript

This is an inline mark type used in Stencila Schema for superscripted content.

It extends Mark to preserve superscript semantics in a format-independent way, which is useful for citations, mathematics, and scientific notation.

Key properties are inherited from Mark, especially the wrapped inline content.

Analogues

The following external types, elements, or nodes are similar to a Superscript:

Properties

The Superscript type has these properties:

NameDescriptionTypeInherited from
contentThe content that is marked.Inline*Mark
idThe identifier for this item.StringEntity

Related

The Superscript type is related to these types:

  • Parents: Mark

  • Children: none

Bindings

The Superscript type is represented in:

Testing

During property-based (a.k.a generative) testing, the properties of the Superscript type are generated using the following strategies.

PropertyComplexityDescriptionStrategy
contentMin+Generate a single fixed text value.vec![t("text")]
Low+Generate a single arbitrary, non-recursive, inline nodevec_inlines_non_recursive(1)
High+Generate up to two arbitrary, non-recursive, inline nodesvec_inlines_non_recursive(2)
MaxGenerate up to four arbitrary, non-recursive, inline nodesvec_inlines_non_recursive(4)

This documentation was generated from Superscript.yaml by docs_types.rs.

© 2026 Stencila