Plugin or script that checks all links in *.md files

Hi,

Is there a way (plugin or script) to check that all *.md files’ links are valid?
https://www.npmjs.com/package/markdown-link-check does not work with private repos (with auth/2FA turned on) and also it not seem to work with several flavours of Gitlab MD style links listed here: https://docs.gitlab.com/ee/user/markdown.html#links

I think one sould need ot write a GitLab specific script/tool.

Any guidance would be much appreciated.
Thanks