开源软件名称(OpenSource Name):Widdershin/markdown-doctest开源软件地址(OpenSource Url):https://github.com/Widdershin/markdown-doctest开源编程语言(OpenSource Language):TypeScript 52.5%开源软件介绍(OpenSource Introduction):markdown-doctestTest all the code in your markdown docs! Why on earth?As an open source developer, there are few things more embarrassing than a user opening an issue to inform you that your README example is broken! With InstallationJust Okay, how do I use it?Let's try it on this repo! var a = 5;
var b = 10;
console.log(a + c); There's a problem with that example. $ markdown-doctest
x..
Failed - README.md:32:17
evalmachine.<anonymous>:7
console.log(a + c);
^
ReferenceError: c is not defined Awesome! No excuse for broken documentation ever again, right? |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论