-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Include line number in report of failed link. #23
Comments
Hi @reagle! I not sure if this is possible since we convert the documents to html prior to checking the links. The actual link url might not even be in the original document. |
Ah, I see. I appreciate that this worked on markdown but I can see the problem. I was hoping I could set a pattern in iTerm such that clicking on it opened it in my editor (as I do with Python exceptions) or could even use in my editor (as I do with linting). How do you do the conversion? |
The only hack I can think of is to preprocess the markdown line number as an attribute prior to conversion. Using pandoc's syntax for link attributes, something like: """ A more generic approach would to be use something like pandoc to parse the AST and check link types there. The new commonmark parser in |
I don't have the bandwidth to work on this, but would support something along these lines. |
Fair enough. I'm not prepared to take this on myself. |
It'd be nice if it included the line number in the report of failed link.
The text was updated successfully, but these errors were encountered: