Document class

Maintains the context needed to parse a Markdown document.

Constructors

Document({Iterable<BlockSyntax>? blockSyntaxes, Iterable<InlineSyntax>? inlineSyntaxes, ExtensionSet? extensionSet, Resolver? linkResolver, Resolver? imageLinkResolver, bool encodeHtml = true})

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseInline(String? text) List<Node>
Parses the given inline Markdown text to a series of AST nodes.
parseLines(List<String> lines) List<Node>
Parses the given lines 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