sectionTypetitlecontentEntity
Analogues
Section
HTML <section>: Closest HTML sectioning analogue, though Stencila sections can carry typed section roles, authorship, and provenance metadata. JATS <sec>: Closest JATS analogue for structured document sections. Pandoc Div: Closest Pandoc container analogue when divisions are used to represent sections; Stencila uses a dedicated section node with explicit semantics. MDAST Heading: Markdown ASTs often imply sections through heading structure rather than an explicit section container, so this is only an approximate analogue.
Properties
Section
sectionType | SectionType | ||
content | Block | ||
authors | Author | ||
provenance | ProvenanceCount | ||
id | String | Entity |
Related
Section
Parents: EntityChildren: none
Bindings
Section
Testing
Section
sectionType | None | ||
option::of(SectionType::arbitrary()) | |||
content | Vec::new() | ||
vec_heading_paragraph() | |||
vec_blocks_non_recursive(4) | |||
vec_blocks_non_recursive(8) |
Section.yamldocs_types.rs