You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(md013): optimize standalone link check using binary search on LintContext
Replaces regex-based checks with O(log N) binary search over pre-parsed
links in LintContext.
This includes a fallback check for unbracketed link/image destinations
containing spaces (e.g. Jekyll/Liquid template paths) which are not
parsed as single links by pulldown-cmark. If the exact range lookup fails,
we check for a partial parsed link starting at the line's beginning and
verify that the remainder is a single parenthesized group.
Note: This drops the standalone link exemption for link-shaped lines
inside fenced code blocks, as LintContext does not index links inside
fenced code blocks.
Assisted-by: Antigravity with Gemini
0 commit comments