class

TUI::Markdown::Heading

Inherits TUI::Markdown::Block < Reference < Object

number is the precomputed nested-outline numbering string (e.g. "1.2.3"), computed once at parse time by Parser so it can never skew on rewrap — "" when Parser was configured not to number headings, in which case Layout renders no number prefix at all.

Constructors

new(level : Int32, number : String, runs : Array(InlineRun))
Source

Instance methods

level
Source
level=(level : Int32)
Source
number
Source
number=(number : String)
Source
runs
Source
runs=(runs : Array(InlineRun))
Source