parse method

  1. @override
Node parse(
  1. BlockParser parser
)
override

Implementation

@override
Node parse(BlockParser parser) {
  final childLines = parseChildLines(parser);

  // Recursively parse the contents of the blockquote.
  final children = BlockParser(childLines, parser.document).parseLines(
    // The setext heading underline cannot be a lazy continuation line in a
    // block quote.
    // https://spec.commonmark.org/0.30/#example-93
    disabledSetextHeading: _lazyContinuation,
    parentSyntax: this,
  );

  return Element('blockquote', children);
}