SetextHeadingToken

class SetextHeadingToken(data: TokenData, val content: String, val underline: String, val customId: String?) : Token

Examples:

Heading
====
Heading
---

Parameters

content

raw heading text, spanning every line up to the underline

underline

the run of = or - that underlines the heading

customId

raw {#custom-id} identifier, if any

See also

Constructors

Link copied to clipboard
constructor(data: TokenData, content: String, underline: String, customId: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T> accept(visitor: TokenVisitor<T>): T

Accepts a visitor.