Share via


DocumentParagraph interface

Paragraph in a document, generally consisting of an contiguous sequence of lines with common alignment and spacing.

Properties

content

Paragraph text.

role

Semantic role of the paragraph.

source

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

span

Span of the paragraph in the markdown content.

Property Details

content

Paragraph text.

content: string

Property Value

string

role

Semantic role of the paragraph.

role?: SemanticRole

Property Value

source

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

source?: string

Property Value

string

span

Span of the paragraph in the markdown content.

span?: ContentSpan

Property Value