BlockQuoteRecognizer

Recognizes a block quote.

A quote line always continues the quote. A line that is not a quote line continues it lazily, unless the previous quote line was empty, the line itself is empty, or the line interrupts. The token's text always ends with the terminator of its last line.

Parameters

interruption

what ends the quote, supplied by the flavor

Constructors

Link copied to clipboard
constructor(interruption: Interruption)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether the recognizer only opens at the start of a line.

Functions

Link copied to clipboard
open override fun open(cursor: LineCursor): BlockMatch?