-
Notifications
You must be signed in to change notification settings - Fork 13
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
Ability to provide an ignore list of reference links for markdown validation #152
Comments
As the author of the referenced SO post, and because I'd like to see this feature implemented/fixed, could we also ensure the interpretation of |
This feature would be also useful to handle [Markdown] An option to highlight a "Note" and "Warning" using blockquote (Beta). I was hoping for a settings line like this to work, but right now it doesn't:
|
I came across your post in SO while searching for similar issue with mdx. For mdx I fixed it using Might I suggest to try something similar with markdown, edit: As I can't replicate your issue, I can't check if the solution works or not. |
I would like to add the following: GitHub style alerts documentation Currently something like the following will be detected as a problem:
Rendered: Note This is a GitHub note |
When creating a
README.md
file for a GitLab repo, I received the following validation error after adding a reference of[TOC]
1. I recognize this Table of Contents element is a feature extension added by GitLab to the standard Markdown syntax, so there was no surprise that I received the following error:No link definition found: 'TOC'
.While searching for a way to disable or ignore this one error, I ran across https://stackoverflow.com/questions/75252767/have-vscode-ignore-specific-reference-links-in-markdown-validation, but there was no known solution offered.
As suggested in the the SO thread, it would be nice if there was a way to ignore just this one 'TOC' entry via an ignore list, instead of having to to completely disable reference link validation (with
"markdown.validate.referenceLinks.enabled": "ignore"
) for the whole project.Is there currently a way to ignore this TOC link that I've missed?
If not possible through some current means, can the reference link validation be modified to also consider entries in the
markdown.validate.ignoredLinks
list or a separate setting added for providing a list of reference links that should be ignored?The setting under
markdown.validate
that I did find (markdown.validate.referenceLinks.enabled
) does work, but is not desirable since it turns off all reference link validation for the whole project. What I was hoping for was a way to keep that validation rule enabled, but be able to provide an explicit list of links that would be ignored.I tried adding the following configuration, but it did not work as I hoped it would:
A little more detail on the specific error reported:
Footnotes
https://docs.gitlab.com/ee/user/markdown.html#table-of-contents ↩
The text was updated successfully, but these errors were encountered: