Home

Subscript

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

It extends Mark to preserve subscript semantics in a format-independent way, which is especially useful in scientific and mathematical writing.

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

Analogues

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

Properties

The Subscript type has these properties:

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

Related

The Subscript type is related to these types:

  • Parents: Mark

  • Children: none

Bindings

The Subscript type is represented in:

Testing

During property-based (a.k.a generative) testing, the properties of the Subscript 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 Subscript.yaml by docs_types.rs.

© 2026 Stencila