-
Notifications
You must be signed in to change notification settings - Fork 17
Support ignore or disable lines and blocks in checked files #76
Description
Is your feature request related to a problem? Please describe.
I would like a way to disable or ignore specific parts of flies that otherwise should be link checked.
For example, I use some hacks in a project that will eventually be valid links once a static site generator renders it (here).
Describe the solution you'd like
This is a common pattern: have a comment in line or comments around some block to disable for that line/block
- https://github.com/tcort/markdown-link-check#disable-comments
- https://prettier.io/docs/en/ignore.html#markdown
Describe alternatives you've considered
I otherwise need to amass a running list of links in the config #65 supports to ignore that gets unwieldy in the case of many links you want to skip (mostly throws 403 or the link as sites block bots...?). Not as bad for me, I have a very specific syntax on internal links that would be broken ( "*slides.*" works to skip the file not the links within it.)
Additional context
I am keen on Markdown support, but a nice-to-have would be this implemented for all langs mlc supports.