Linux command
lychee 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Check links in file
lychee [README.md]
Check entire directory
lychee [docs/]
Check website
lychee [https://example.com]
Exclude patterns
lychee --exclude [example.com] [file.md]
Output formats
lychee --format json [file.md]
Skip offline check
lychee --offline [file.md]
说明
lychee is a fast link checker. It validates links in markdown, HTML, and plain text. The tool is written in Rust for speed. It checks both local and remote links concurrently.
参数
- --exclude _PATTERN_
- Exclude matching URLs.
- --format _FMT_
- Output format (plain, json, markdown).
- --offline
- Skip network checks.
- --cache
- Use cache for results.
- --help
- Display help information.
FAQ
What is the lychee command used for?
lychee is a fast link checker. It validates links in markdown, HTML, and plain text. The tool is written in Rust for speed. It checks both local and remote links concurrently.
How do I run a basic lychee example?
Run `lychee [README.md]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --exclude _PATTERN_ do in lychee?
Exclude matching URLs.