Skip to content

Internal links only? #838

Closed Answered by mre
lucperkins asked this question in Q&A
Nov 23, 2022 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

I'm aware that this is an old discussion, but I just realized that the comments at #862 could be relevant.

Specifically, a workaround at the moment is to use

lychee --dump

and then grepping for the links/patterns you want to have checked.
You can use ripgrep for that.

So

# Using grep
lychee --dump | grep '^/' > absolute-links.txt

# Using ripgrep 
lychee --dump | rg '^/' > absolute-links.txt

and then

lychee --verbose absolute-links.txt

Hope that helps someone. I wil close this discussion in favor of #862.

Replies: 2 comments 2 replies

Comment options

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

@mre
Comment options

mre Nov 28, 2022
Maintainer

Comment options

You must be logged in to vote
0 replies
Answer selected by mre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants