The broken link target as written
Absolute path of the file containing the broken link
Absolute paths of every candidate file in the project
Maximum number of suggestions to return (default 3)
Ranked suggestions, best first; empty when nothing is reasonably similar
Suggest likely-intended targets for a broken link.
Ranks every known file against the broken target by normalised name: an exact normalised stem match wins, separator and case variations come next, then near misses by edit distance bounded relative to the target's length so unrelated names are never suggested. The replacement href is computed relative to the linking file, ./-prefixed like markmv's own rewrites, with posix separators for markdown portability.