-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fragment resolution #3
Comments
I haven't really planned to implement it any time soon, but it should be fairly straightforward to do. When checking web links we need to send a GET request, parse it as HTML ( Validating filesystem links may be a bit more difficult... You need to figure out how to parse the document based on its file type. It also makes things interesting in that the strategy used when generating IDs for a markdown title is totally up to the renderer. You could hit a situation where linking to the |
Don't it need a full JS support, to handle dynamic anchors, e.g. for SPA? |
@l4l potentially. However I'd expect the vast majority of anchors to be used for linking to relatively static sites (e.g. a page on MDN or another section of the book). If the demand was there we could use something like |
I've implemented fragment checking for the Anki project. It's probably not good enough to be merged (see below), so I won't open a PR, but here are the repos in case anyone has use for it: Notable limitations:
|
Hi! We use fragment resolution quite a lot, and running linkcheck with debug made me realize it currently isn't implemented. Do you have any ongoing development on it or some ideas for how to implement it?
The text was updated successfully, but these errors were encountered: