Home

Annotation

This is a type used in Stencila Schema for annotated inline content.

It extends Mark to attach structured authorship and provenance-aware commentary to a span of content, rather than relying only on presentational markup. This makes annotations useful in collaborative and review-oriented document workflows.

Key properties include annotation, together with inherited metadata and provenance features from Mark.

Analogues

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

  • HTML <mark>: Approximate HTML analogue for highlighted or annotated spans, though Stencila Annotation additionally stores attached block content as the annotation itself.

  • JATS <annotation>: Close JATS analogue for attached annotation content.

  • Pandoc Span: Closest Pandoc inline container analogue, but annotations there are usually conveyed via attributes rather than a dedicated node with block annotation content.

Properties

The Annotation type has these properties:

NameDescriptionTypeInherited from
annotationThe annotation, usually a paragraph.Block*-
contentThe content that is marked.Inline*Mark
idThe identifier for this item.StringEntity

Related

The Annotation type is related to these types:

  • Parents: Mark

  • Children: none

Bindings

The Annotation type is represented in:


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

© 2026 Stencila