becheran / mlc

Check for broken links in markup files
MIT License
129 stars 17 forks source link

Offline mode #37

Closed hoijui closed 2 years ago

hoijui commented 3 years ago

When supplying a switch, e.g. --offline, mlc would not try to access anything outside the local machine. Might this also need a new, neutral result state?

This can be useful when working off-grid, and still wanting at least a preliminary (very fast) check of the docu, before committing.

It might only check local links, or use a cache of earlier checked links.

Priority: low

becheran commented 3 years ago

I already added a --no-web-links option to mlc. Is this what you want? Actually I do prefer the much simpler arg --offline. Maybe I change it and keep the other as deprecated?

hoijui commented 3 years ago

doh! :D yes of course, that is what I meant, thanks. :-)

becheran commented 2 years ago

Because I don't want to introduce a breaking change, I will keep --no-web-link for now