becheran / mlc

Check for broken links in markup files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for ignore link list from a file

diegorondini opened this issue · comments

Is your feature request related to a problem? Please describe.
At the moment the links to ignore are provided as option parameters on the command line:

mlc -i '<mylinktoignore>'

This is inconvenient if mlc is run during a pipeline, as adding / removing a link to ignore requires changing the pipeline config file.

Describe the solution you'd like
Allow to specify a file that provides the list of links to ignore. This would allow to just edit the file to change the list of links to ignore, like when you edit .gitignore to specify the files / dirs that should be ignored by git.

Sounds reasonable. I will think about it. Maybe even more general such as a mlc config file which does include the ignored link list.

Yes, that sounds like a sensible idea, and matches what others similar projects are doing:
https://github.com/tcort/markdown-link-check#config-file-format

Thanks for implementing this!