Github工具来验证Markdown中的链接 [英] Github tool to validate links in markdown

查看:104
本文介绍了Github工具来验证Markdown中的链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我计划在某些README.md文件中执行的操作是提供指向我引用的其他站点的超链接.但是,当链接死亡或被移动时,我们所有人都会遇到该问题,并且所述链接变得无效. =(

What I plan to do in some of my README.md files is provide hyperlinks to other sites that I cite. However, we all run into that problem when links die or get moved, and said link becomes invalidated. =(

是否有一个github工具可以每晚运行一次检查,以查看README.md文件(或类似文件)中的所有链接是否正常工作?

Is there a github tool that can run nightly checks to see if all the links in a README.md file (or something similar) are working correctly?

我正在寻找的东西具有与Travis CI相似的功能,其中一个项目可能在项目的主github页面上有一个标有"link-passing"的徽章. (例如: scikit-learn 具有这两个看起来很修造"的经典徽章.)

What I'm looking for is something that has a feature similar to Travis CI, where a project could have a badge saying "link-passing" on the project's main github page. (Example: scikit-learn has those two classy looking "build-passing" badges.)

推荐答案

我认为您要使用的是 awesome_bot .

它不提供您想要的徽章,但会检查文件中的URL.

It doesn't provide the badge you want but it does check URLs in files.

这篇关于Github工具来验证Markdown中的链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆