TextDocument

data class TextDocument(val paragraphs: List<Paragraph>)

Root AST node for a plain-text document.

A document is a flat list of Paragraphs. There are no headings or other block-level constructs — everything is a paragraph.

Constructors

Link copied to clipboard
constructor(paragraphs: List<Paragraph>)

Properties

Link copied to clipboard

the ordered list of paragraphs in the document.