The (start, end) of every inline code span of one line (a backtick run closed by the nearest run of the same length), or None when some backtick run finds no partner on the line: that run may pair with one on another line, or be literal, and parsers disagree about which.
Methods
_code_spans
_code_spans(line: str) -> Optional[List[Tuple[int, int]]]
The (start, end) of every inline code span of one line (a backtick run closed by the nearest run of the same length), or None when some backtick run finds no partner on the line: that run may pair with one on another line, or be literal, and parsers disagree about which.
| Parameter | Type | Description |
|---|---|---|
| line | str |
Generated with Flude
Copyright © 2026