The (start, end) of the link destination that begins after the “(” at text[start - 1]: either <...> or a run without whitespace in which parentheses balance (CommonMark), with backslash escapes.

Methods

_destination_span

_destination_span(text: str, start: int) -> Optional[Tuple[int, int]]

The (start, end) of the link destination that begins after the “(” at text[start - 1]: either <...> or a run without whitespace in which parentheses balance (CommonMark), with backslash escapes.

ParameterTypeDescription
textstr
startint

Generated with Flude

Copyright © 2026