Skip to content
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

Support MDX comments to disable link check #171

Open
BrunnerLivio opened this issue Sep 15, 2021 · 1 comment
Open

Support MDX comments to disable link check #171

BrunnerLivio opened this issue Sep 15, 2021 · 1 comment

Comments

@BrunnerLivio
Copy link

At the moment MLC requires you to use a HTML comment to disable link checks. Unfortunately, in mdx v1 HTML comments are not valid.

In MDX it could look like this:

{/* markdown-link-check-disable-next-line */}
[Not a link](https://not-a-link.com)
@BrunnerLivio
Copy link
Author

How about we make this configurable and leave it up to the user how the pattern for disabling comment checks should look like? Per default, it will off course use the standard <!--- -->, but add an option in the config.json with disablePattern

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant