markmv - v1.39.2
    Preparing search index...

    Function applyLinkFix

    • Apply one chosen suggestion to the linking file.

      Rewrites the markdown link form ](broken-href to ](replacement on the recorded line. A missing line or a link text that no longer matches throws -- applying a fix to a file that changed under the validator would silently corrupt the wrong span.

      Parameters

      • fix: PlannedLinkFix

        The planned fix being accepted

      • choiceIndex: number

        Zero-based index into fix.suggestions

      Returns Promise<void>