Documentation
¶
Overview ¶
Package mdspan finds the inline spans of a markdown line that are not running prose: code spans and links.
It lives here because two readers need the same answer and neither may import the other: the extractor masks code spans so an example in code is not a directive, and the sentence binder must not end a sentence at a full stop inside a code span or a link's text. A second copy of the backtick rule is how the two would drift.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Span ¶
type Span struct{ Start, End int }
Span is a half-open byte range [Start, End) of a line.
Click to show internal directories.
Click to hide internal directories.