diff --git a/installation.mdx b/installation.mdx index bc4b64958..90199fbbf 100644 --- a/installation.mdx +++ b/installation.mdx @@ -183,10 +183,18 @@ mint broken-links The command ignores files matching [.mintignore](/organize/mintignore) patterns. Links that point to ignored files are reported as broken. -To also check anchor links like `/path/to/page#anchor`, use the `--check-anchors` flag: +#### Flags + +| Flag | Description | +| --- | --- | +| `--check-anchors` | Validate anchor links (e.g. `#section`) against heading slugs | +| `--check-external` | Check external links for broken URLs | +| `--check-snippets` | Check links inside `` components | + +Example with multiple flags: ```bash -mint broken-links --check-anchors +mint broken-links --check-anchors --check-external ``` ### Find accessibility issues