Markdown class

Maintains the context needed to parse a Markdown document.

Constructors

Markdown({bool enableAtxHeading = true, bool enableBlankLine = true, bool enableHeadingId = false, bool enableBlockquote = true, bool enableIndentedCodeBlock = true, bool enableFencedBlockquote = true, bool enableFencedCodeBlock = true, bool enableList = true, bool enableParagraph = true, bool enableSetextHeading = true, bool enableTable = true, bool enableHtmlBlock = true, bool enableLinkReferenceDefinition = true, bool enableThematicBreak = true, bool enableAutolinkExtension = true, bool enableAutolink = true, bool enableBackslashEscape = true, bool enableCodeSpan = true, bool enableEmoji = true, bool enableEmphasis = true, bool enableHardLineBreak = true, bool enableImage = true, bool enableLink = true, bool enableKbd = false, bool enableRawHtml = true, bool enableSoftLineBreak = true, bool enableStrikethrough = true, bool enableSubscript = false, bool enableSuperscript = false, bool enableHighlight = false, bool enableFootnote = false, bool enableTaskList = false, bool forceTightList = false, Resolver? linkResolver, Resolver? imageLinkResolver, Iterable<Syntax> extensions = const []})

Properties

blockSyntaxes Iterable<BlockSyntax>
no setter
hasCustomInlineSyntaxes bool
final
hashCode int
The hash code for this object.
no setterinherited
inlineSyntaxes Iterable<InlineSyntax>
no setter
linkReferences Map<String, LinkReference>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addFootnoteReference(String label, Element<Node> element) → void
markFootnoteReference(String label) String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String text) List<Node>
Parses the given string of Markdown to a series of AST nodes.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited