This remark-lint rule ensures that there will be no duplicate links
URL
in the list
Checks only duplicate URL
, which helps to get rid of duplicates with the same link names or with different ones. The main policy is not to duplicate links to the same resources
<!-- Invalid -->
[link-1](http://link-1)
[link-2](http://link-1)
<!-- Valid -->
[link](http://link-1)
npm install -g remark-cli npm install remark-lint remark-lint-alphabetize-lists
Then, set up your .remarkrc
:
{ "plugins": [ "lint", "lint-double-link" ] }
Now you can use the following command to run the lint:
npm install -g remark-cli npm install remark-lint remark-lint-double-link remark -u lint -u lint-double-link xxx.md
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4