HeadingToken

constructor(data: TokenData, depth: Int, isDecorative: Boolean, content: String, customId: String?)

Parameters

depth

amount of # characters, from 1 to 6

isDecorative

whether a ! follows the hashes, marking the heading as not part of the structure

content

raw heading text, delimiters and the trailing # run excluded

customId

raw {#custom-id} identifier, if any