Home

Code Static

This is an abstract base type used in Stencila Schema for non-executable code nodes.

It exists to represent code as document content without normal execution semantics, while still preserving source text, programming language, authorship, and provenance metadata. This provides a common foundation for static code blocks and inline code.

Key properties include code, programmingLanguage, authors, and provenance.

Properties

The CodeStatic type has these properties:

NameDescriptionTypeInherited from
codeThe code.Cord-
programmingLanguageThe programming language of the code.String-
authorsThe authors of the code.Author*-
provenanceA summary of the provenance of the code.ProvenanceCount*-
idThe identifier for this item.StringEntity

Related

The CodeStatic type is related to these types:

Bindings

The CodeStatic type is represented in:


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

© 2026 Stencila