MarkdownDocument

data class MarkdownDocument(val blocks: List<Block>)

The root node of a CommonMark document.

A document is a sequence of Block nodes produced by the block-structure pass. Inline nodes appear nested inside blocks such as Block.Paragraph and Block.Heading.

Constructors

Link copied to clipboard
constructor(blocks: List<Block>)

Properties

Link copied to clipboard

the top-level block nodes of the document.