Input

constructor(content: String, lookupLinks: Boolean, flavour: MarkdownFlavourDescriptor, parser: MarkdownParser, referenceLinkHandler: ReferenceLinkHandler, retainState: Boolean = false)

Parameters

content

The markdown content to parse.

lookupLinks

Whether to lookup links in the parsed tree or not.

flavour

The MarkdownFlavourDescriptor to use for parsing.

parser

The MarkdownParser to use for parsing.

referenceLinkHandler

The ReferenceLinkHandler to use for storing links.

retainState

Whether to retain the state of the MarkdownState or not, when the input changes