Validates a specific array of links from a single file.
Array of links to validate
Path to the source file containing the links
Promise resolving to validation result with broken links
Check for circular references - overloaded method that supports both parsed files and file paths.
Check for circular references - overloaded method that supports both parsed files and file paths.
Validates markdown links and identifies broken or problematic references.
The LinkValidator checks various types of links including internal file references, external URLs, and Claude import syntax. It provides comprehensive reporting of validation issues and supports different validation modes for different use cases.
Example
Basic link validation
Example
Batch validation