parse method

List<Node> parse(
  1. String text
)

Parses the given string of Markdown to a series of AST nodes.

Implementation

List<Node> parse(String text) {
  final nodes = BlockParser(stringToLines(text), this).parseLines();
  _parseInlineContent(nodes);
  return nodes;
}