markdown-checker is a markdown link validation reporting tool for .md and
.ipynb files. It flags broken relative paths, broken web URLs, missing
locale segments, and missing tracking IDs, then writes the findings as a
report your CI can post back to a pull request.
Features
- Five built-in checks: broken relative paths, broken web URLs, locale segments in URLs, and tracking IDs on URLs and paths.
- Concurrent URL checking with cross-file deduplication, per-host rate
pacing, and
Retry-After/429 handling, so large repositories don't trip host rate limits. - Four report formats:
markdown,json,github-annotations, andconsole. - Error vs. warning severity - rate-limited or unverifiable links are reported but never fail your CI.
- Configuration via a
[tool.markdown-checker]table inpyproject.toml, so you don't have to repeat flags in every command or workflow file.
Installation
pip install markdown-checker
Quickstart
markdown-checker . -f check_broken_paths
🔍 Checked 42 links in 10 files.
All files are compliant with the guidelines. 🎉
When issues are found, a comment.md report is written and the command
exits with a non-zero status:
🔍 Checked 42 links in 10 files.
😭 Found 1 issues in the following files:
File 'docs/index.md', line 5
./missing.md could not be found at /docs/missing.md.
Using markdown-checker in GitHub Actions
Run this tool within a GitHub workflow using the action-check-markdown GitHub Action, which posts the report as a pull request comment:
- uses: john0isaac/action-check-markdown@v1.3.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
command: check_broken_paths
directory: ./
guide-url: "https://github.com/<owner>/<repo>/blob/main/CONTRIBUTING.md"
See the GitHub Actions how-to for the full workflow.
Documentation
- Tutorial - install and run your first check.
- How-to guides - configuration, rate limiting, report formats, CI.
- CLI reference - every command-line option.
- API reference - for programmatic use.
- Full documentation.
Contributing
Contributions are welcome - see the Contributing guide.
License
Metadata
Release files for markdown-checker 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| markdown_checker-1.3.0.tar.gz | 189.1 kB | Without provenance | Details for markdown_checker-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| markdown_checker-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for markdown_checker-1.3.0-py3-none-any.whl |
Total release size: 235.9 kB
Release files / markdown_checker-1.3.0.tar.gz
| Download URL | markdown_checker-1.3.0.tar.gz |
|---|---|
| Size | 189.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da11355db7051a2a81b15fe6fd793cdaa9f3371fd43d84a65da29cd6a624ce03
|
|
BLAKE2b-256 checksum How to use checksums |
97cfa77da19435d385d5fe794c10442fa9b11ccf62677185d6c7e7ef3e22ebeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / markdown_checker-1.3.0-py3-none-any.whl
| Download URL | markdown_checker-1.3.0-py3-none-any.whl |
|---|---|
| Size | 46.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ff6ee9dd38c859d468a7b3076944b5d2e2873a1327931acd2c7021c2c7bc6eb
|
|
BLAKE2b-256 checksum How to use checksums |
53fad4072326a8726892ce0c93f191310244f80aa89c09a0665b08514865fcd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for markdown-checker 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.