5 releases (breaking)
0.8.1 | Jan 17, 2024 |
---|---|
0.7.0 | Oct 17, 2022 |
0.6.0 | Mar 10, 2021 |
0.5.0 | Mar 10, 2021 |
0.4.0 | Mar 10, 2021 |
#11 in #broken-links
36 downloads per month
14KB
150 lines
mdlc - Markdown Link Checker
The aim of this tool is to read in all parsed markdown files, extract all links (both local, for files, and remote), and then report which of these links are broken.
TODO
- Get
HashMap<String, Vec<String>>
, representingFilename: links
pairs - Split links into
local
andweb
- Validate each web link (
http
200 response?) - Validate each local link
- If no valid local link is found, search within any given common parent (or use a passed directory as the parent), calculating string-similarity to determine a possible typo?
- Per-file, report:
- Broken web links
- Broken local links (optionally with most likely similar file, if similarity above a threshold)
Dependencies
~10–22MB
~328K SLoC