Skip to content

Find URLs inside comments #1358

Answered by mre
jacobdalamb asked this question in Ideas
Jan 24, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

You can use globs:

lychee '**/*.css'

This would search for broken links in all CSS files in all subdirectories.

You can use multiple globs:

lychee '**/*.css' '**/*.html' '**/*.md' '**/*.ruby' 

A quick way to list all the searched inputs would be

lychee --dump-inputs '**/*.css' '**/*.html' '**/*.md' '**/*.ruby' 

You can find more info on glob patterns here.

The -vv is the same as -v -v, which means "extra verbose". It is a Unix convention.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jacobdalamb
Comment options

@mre
Comment options

mre Jan 25, 2024
Maintainer

Answer selected by jacobdalamb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants