The link-pruning algorithm scans the markdown text for links, probes each cited URL for response status via safe streaming requests, and unwraps them into plain text from bottom to top while shielding the primary target link from removal.
Referenced by