-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
cmark links should be handled #44
Comments
There is already something similar for |
cc @drahnr |
Sure @laysauchoa feel free! |
Is there anything that's blocking you and that I could help with? |
@drahnr sorry for the delay, it was just really full those last days. I aim to start this week+weekend. |
No rush, it's a pet project and should be a fun and learning experience, just making sure there are no road blocks :) |
@drahnr thanks, you are great! |
CC @drahnr There are multiple variants here What does valid means here?
links to struct items should be ignored in spell checks I have not yet found any reference for scanning struct and validating them. Only for local files and web links, should this be checked if it a struct present in the file or just any add a flag to verify the linked to destinations exist By the way, seems like doing it with regex is not that simple as I thought. Is it using external crates something to be thought here or should regex be used? Or maybe you meant to use mdbook for that. or linkify. Please, share your thoughts about it. Thank you! |
I am automatically notified if I am subscribed (which I am always for this repo :) ) - feel free to CC me explicitly on third party repos which are relevant!
I think we should carve out two definitions:
Now we should try to check if the link text is an url too, so 1. applies.
Number two should be only done explicitly on user request, and would fail in this case - it does not exists, further details below.
In rust doc comments, you can specify a link like this
My usual brevity.. apologies, verify the link destination exists means the querying it with If there is still something fuzzy, feel free to ask me to elaborate so you get a concise picture :) |
I guess it makes sense for you to land this as part of hacktober? |
For md-book there is a plugin that works rather well, which could be taken as an inspiration - https://github.com/Michael-F-Bryan/mdbook-linkcheck At this point I think it's mostly doing and deciding which way to go for: Either with or without lychee, rebasing that branch today exposed some significant compilation time increment even on a strong~ish machine. |
Summary
There are multiple variants here
[]
so spell checkings can be ignored in that span[https://ahoi.io](https://ahoi.io)
The text was updated successfully, but these errors were encountered: