parseLines method
Parses the given lines
of Markdown to a series of AST nodes.
Implementation
List<Node> parseLines(List<String> lines) {
final nodes = BlockParser(lines, this).parseLines();
// Make sure to mark the top level nodes as such.
for (final n in nodes) {
n.isTopLevel = true;
}
_parseInlineContent(nodes);
return nodes;
}