Share via


DocumentFigure interface

Figure in a document.

Properties

caption

Figure caption.

description

Description of the figure.

elements

Child elements of the figure, excluding any caption or footnotes.

footnotes

List of figure footnotes.

id

Figure identifier.

kind

The discriminator possible values: chart, mermaid

role

Semantic role of the figure.

source

Encoded source that identifies the position of the figure in the content.

span

Span of the figure in the markdown content.

Property Details

caption

Figure caption.

caption?: DocumentCaption

Property Value

description

Description of the figure.

description?: string

Property Value

string

elements

Child elements of the figure, excluding any caption or footnotes.

elements?: string[]

Property Value

string[]

footnotes

List of figure footnotes.

footnotes?: DocumentFootnote[]

Property Value

id

Figure identifier.

id: string

Property Value

string

kind

The discriminator possible values: chart, mermaid

kind: DocumentFigureKind

Property Value

role

Semantic role of the figure.

role?: SemanticRole

Property Value

source

Encoded source that identifies the position of the figure in the content.

source?: string

Property Value

string

span

Span of the figure in the markdown content.

span?: ContentSpan

Property Value