You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the href's value is the page's address. However, an empty href is also a red flag: the author probably didn't mean to leave those links empty. lychee currently interprets each empty link as a check if the current document can be reached, which it always can be.
An empty_link = "warn" # or "ok" or "error" configuration option would preserve the current technically-correct link-checking behavior while giving users information about suspicious links and a way to opt into more rigorous checking.
The text was updated successfully, but these errors were encountered:
I don't know how to handle that at the moment. Would love to get some more comments on this before making a decision. A little hesitant to add a configuration option for it without more information.
Context
If I'm writing markdown
that gets compiled to html
the href's value is the page's address. However, an empty href is also a red flag: the author probably didn't mean to leave those links empty.
lychee
currently interprets each empty link as a check if the current document can be reached, which it always can be.Reproduction
Desired behavior
An
empty_link = "warn" # or "ok" or "error"
configuration option would preserve the current technically-correct link-checking behavior while giving users information about suspicious links and a way to opt into more rigorous checking.The text was updated successfully, but these errors were encountered: