class

Heading

@Js
class Heading : Block

A heading (ATX or Setext):

## First heading

## Another heading

constructors make

fields anchor

The anchor id to use for this heading

level

The heading "level"

methods toStrAttributes

anchor Str? : anchor

The anchor id to use for this heading.

level const Int : level

The heading "level"

make new make(Int level := 0)

toStrAttributes virtual Str toStrAttributes()

Haxall 4.0.6 ∙ 21-Jul-2026 09:48 EDT