parse method

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

Implementation

@override
Node parse(BlockParser parser) {
  final childLines = <String>[];

  while (!BlockSyntax.isAtBlockEnd(parser)) {
    childLines.add(parser.current.content);
    parser.advance();
  }

  return UnparsedContent(childLines.join('\n'));
}