Input
data class Input(val content: String, val lookupLinks: Boolean, val flavour: MarkdownFlavourDescriptor, val parser: MarkdownParser, val referenceLinkHandler: ReferenceLinkHandler, val retainState: Boolean = false)
The input for the MarkdownState.
Parameters
content
The markdown content to parse.
lookup Links
Whether to lookup links in the parsed tree or not.
flavour
The MarkdownFlavourDescriptor to use for parsing.
parser
The MarkdownParser to use for parsing.
reference Link Handler
The ReferenceLinkHandler to use for storing links.
retain State
Whether to retain the state of the MarkdownState or not, when the input changes
Constructors
Link copied to clipboard
constructor(content: String, lookupLinks: Boolean, flavour: MarkdownFlavourDescriptor, parser: MarkdownParser, referenceLinkHandler: ReferenceLinkHandler, retainState: Boolean = false)