Heading

data class Heading(val level: Int, val inlines: List<Inline>) : Block

An ATX or Setext heading.

Constructors

Link copied to clipboard
constructor(level: Int, inlines: List<Inline>)

Properties

Link copied to clipboard

the inline content of the heading.

Link copied to clipboard
val level: Int

the heading level (1–6).