Skip to main content

Include

A directive to include content from an external source (e.g. file, URL) or content.

This schema type is marked as unstable ⚠️ and is subject to change.

Properties#

Name@idTypeDescriptionInherited from
sourcestencila:sourcestringThe source of the content, a URL or file path, or the content itself.Include
contentstencila:contentArray of BlockContentThe content to be included. See note 1.Include
formatschema:encodingFormatstringMedia type, typically expressed using a MIME format, of the source content.Include
idschema:idstringThe identifier for this item.Entity
metastencila:metaobjectMetadata associated with this item.Entity

Notes#

  1. content : !array('Currently assumes that included content will be block content. This presumes that there will be limited instance where a user would want to use an ')Include!array(' node to transclude inline content.')

Related#

  • Parent: Entity
  • Descendants: None

Available as#

Source#

This documentation was generated from Include.schema.yaml.