blockquoteLine method

Parser<String> blockquoteLine()
inherited

Implementation

Parser<String> blockquoteLine() =>
    seq3(ref0(nonIndentSpace), char('>'), char(' ').optional())
        .then(
          noneOf('\r\n').starString().then(
            [ref0(newlineSequence), endOfInput()].toChoiceParser().flatten(),
          ),
        )
        .map((res) => '${res.$2.$1}${res.$2.$2}');