HeadingToken
class HeadingToken(data: TokenData, val depth: Int, val isDecorative: Boolean, val content: String, val customId: String?) : Token
Example:
# HeadingContent copied to clipboard
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