Skip to main content

InlineContent

Union type for valid inline content.

Members#

@idTypeDescription
schema:AudioObjectAudioObjectAn audio file
stencila:CiteCiteA reference to a CreativeWork that is cited in another CreativeWork.
stencila:CiteGroupCiteGroupA group of `Cite` nodes
stencila:CodeExpressionCodeExpressionAn expression defined in programming language source code.
stencila:CodeFragmentCodeFragmentInline code.
stencila:DeleteDeleteContent that is marked for deletion
stencila:EmphasisEmphasisEmphasised content.
schema:ImageObjectImageObjectAn image file.
stencila:LinkLinkA hyperlink to other pages, sections within the same document, resources, or any URL.
stencila:MathFragmentMathFragmentA fragment of math, e.g a variable name, to be treated as inline content.
schema:MediaObjectMediaObjectA media object, such as an image, video, or audio object embedded in a web page or a downloadable dataset.
stencila:NontextualAnnotationNontextualAnnotationInline text that has a non-textual annotation.
stencila:NoteNoteAdditional content which is not part of the main content of a document.
stencila:QuoteQuoteInline, quoted content.
stencila:StrongStrongStrongly emphasised content.
stencila:SubscriptSubscriptSubscripted content.
stencila:SuperscriptSuperscriptSuperscripted content.
schema:VideoObjectVideoObjectA video file.
null
boolean
integer
number
string

Notes#

  1. Note that this definition currently does not include array and object nodes (which are included in Node). This seems incongruent, and may be changed in the future. The order of these types is important because it determines the order of attempted coercion (particularly important for primitive types).
  2. Available as JSON-LD.
  3. Available as JSON Schema.
  4. This documentation was generated from InlineContent.schema.yaml.