--link-types <types> |
Comma-separated link types to check: internal,external,anchor,image,reference,claude-import |
|
--check-external |
Enable external HTTP/HTTPS link validation |
false |
--external-timeout <ms> |
Timeout for external link validation (ms) |
5000 |
--strict-internal |
Treat missing internal files as errors |
true |
--check-claude-imports |
Validate Claude import paths |
true |
--check-circular |
Check for circular references in file dependencies |
false |
--check-content-freshness |
Enable content freshness detection for external links |
false |
--freshness-threshold <days> |
Content staleness threshold in days |
730 |
--max-depth <number> |
Maximum depth to traverse subdirectories |
|
--only-broken |
Show only broken links, not all validation results |
true |
--group-by <method> |
Group results by: file|type |
file |
--include-context |
Include line numbers and context in output |
false |
--git-diff <ref> |
Only validate files changed since the specified git reference |
|
--git-staged |
Only validate files currently staged in git |
|
--cache |
Enable validation result caching for faster subsequent runs |
|
--cache-dir <dir> |
Cache directory path |
.markmv-cache |
--fail-fast |
Exit immediately on first broken link found |
|
--include-dependencies |
Include files that depend on changed files |
true |
--enable-auth-detection |
Enable authentication-aware link validation |
false |
--disallow-auth-required |
Treat auth-required links as broken instead of valid |
false |
--auth-credentials <json> |
JSON object with domain:credential mapping for authentication |
|
--auth-headers <json> |
JSON object with domain-specific headers for authentication |
|
-v, --verbose |
Show detailed output with processing information |
|
--json |
Output results in JSON format |
|
--obsidian |
Validate [[wikilinks]] by resolving them against the whole vault |
|
--fix |
Suggest fixes for broken internal links and apply them interactively on a terminal |
|
--skip-domains <domains> |
Comma-separated hostnames never contacted for external checks |
|
--require-frontmatter <fields> |
Comma-separated frontmatter fields every file must define |
|
--enforce-link-format <format> |
Enforce internal link href form: relative|absolute |
|
--explain <file> |
Print the recorded stack for a file that failed to parse |
|