ReferenceLinkRecognizer

Recognizes a link whose destination lives in a link definition. The second bracket pair and the reference inside it are both optional, so the tail always parses and the label therefore ends at its first unescaped closing bracket.

Functions

Link copied to clipboard
open override fun recognize(source: CharSequence, index: Int): InlineMatch?