MarkdownParser class

A parser for Markdown content.

This parser uses the markdown package to parse Markdown content.

Implemented types

Constructors

MarkdownParser({DocumentBuilder documentBuilder = _defaultDocumentBuilder})
Creates a Markdown parser.
const

Properties

documentBuilder → DocumentBuilder
final
hashCode → int
The hash code for this object.
no setterinherited
pattern → Pattern
The pattern that is used to match the page path. It must match the entire path, not just the file suffix. Regexes are allowed.
no setteroverride
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
parsePage(Page page) → List<Node>
Parses the given page into a list of nodes.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

buildNodes(Iterable<Node> markdownNodes) → List<Node>
Converts the given markdownNodes to a list of Nodes.

Constants

defaultBlockSyntaxes → const List<BlockSyntax>