Home

Strikeout

This is a Stencila-native inline mark for struck-out text, with close analogues in HTML <del>, JATS <strike>, MDAST Delete, and Pandoc Strikeout.

In Stencila Schema it is used as a presentational and editorial inline mark for text that should render with a strike-through. It supersedes the older Delete inline type because Strikeout more clearly describes the mark itself rather than an editing action.

Key semantics are inherited from Mark, with this type chiefly signaling strike-through rendering for its content.

Analogues

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

  • HTML <del>: Close HTML analogue for struck-through text, though Stencila Strikeout is used as a general strike-through mark rather than specifically representing deletions.

  • JATS <strike>

  • Pandoc Strikeout

  • MDAST Delete: Closest MDAST analogue, although the MDAST name emphasizes deletion semantics rather than the visual mark.

Properties

The Strikeout type has these properties:

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

Related

The Strikeout type is related to these types:

  • Parents: Mark

  • Children: none

Bindings

The Strikeout type is represented in:

Testing

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

© 2026 Stencila