A CLI tool to validate references in markdown files.
Project description
mdrefcheck
A CLI tool to validate references and links in Markdown files (CommonMark spec).
It helps to ensure that your documentation is free from broken section links, missing images or files.
Features
- Validate local file paths in image and section references
- Check section links (
#heading-link) match existing headings according to GitHub Flavored Markdown (GFM) rules - Identify broken reference-style links
- Email validation
Installation
Cargo
mdrefcheck is also published on crates.io and can be installed
with cargo:
cargo install mdrefcheck
PyPI
mdrefcheck can be installed with
pip install mdrefcheck
It also can be used as a tool in an isolated environment, e.g., with uvx:
uvx mdrefcheck .
Pre-commit integration
You can use mdrefcheck as a pre-commit hook.
Add this to your .pre-commit-config.yaml:
repos:
- repo: https://github.com/gospodima/mdrefcheck
rev: v0.1.6
hooks:
- id: mdrefcheck
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mdrefcheck-0.1.6.tar.gz.
File metadata
- Download URL: mdrefcheck-0.1.6.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29bb2e2a1f120194f279b78e4b01f2544690bc7202ecb86f9bc3f9bc11e0371a
|
|
| MD5 |
2b8cd11dca5e7bc8d8714e6417e613fc
|
|
| BLAKE2b-256 |
b5ab74e44e542c1fc1afa78ccd475c107ed9cdc8ff497e3f4380532be5109d0c
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-win_amd64.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-win_amd64.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c7af0932deeaa79c5a23c04516e2e7fe47bb6e247f0bf12d9333165b606f699
|
|
| MD5 |
0a5b0460a8f7d14579794042693d38c8
|
|
| BLAKE2b-256 |
77fe8ac6907fefac73ec3e4dc76b709cc239abe9e8dc5b368f79fb451a89ab7c
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-win32.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-win32.whl
- Upload date:
- Size: 946.7 kB
- Tags: Python 3, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea424e46dc5c1bc5787918b9fd3b26d3ff42014faa9957cb510fcafc3578bac5
|
|
| MD5 |
eb82ade5b08dd762847e21c7a8893ad3
|
|
| BLAKE2b-256 |
195542cd69e03fbf6c7c7deb14e4982ffcb1fe170320d5a44a37cea128714f4e
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00ecf1a06ac11537bd274d30a4e620ccf15e69a962019296137acff2f6b9ddd4
|
|
| MD5 |
025b59b9db2c4e8a0eed300a7dc6084e
|
|
| BLAKE2b-256 |
d433ce89488ef0a827002fa118ca34a23526091413c025d9f972ab7e9ed8f73a
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-musllinux_1_2_i686.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a59a89ccca50f93b21afdf33ed4bd3d494fb0851746104e2a26145ff69bd05d
|
|
| MD5 |
f09310ea4370a1d3f5a3c043c8a44619
|
|
| BLAKE2b-256 |
9098154d752776f22bc95a4db48a1b8777a82c90a06ce37f5a8a9e835d7de98e
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-musllinux_1_2_armv7l.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-musllinux_1_2_armv7l.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3, musllinux: musl 1.2+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86e6f036647ab03941f5325ba04146fb21e3617b0fa9efe8e4771565b6a8e5fc
|
|
| MD5 |
86778349e78f40cdc6b26c2d767e0810
|
|
| BLAKE2b-256 |
9eb295332740ce3f5879282245f159a9f2ecc3ba25b7d7ff75288cb473f209c6
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea04e18b723abc07d29070f833bb9129b73486a3299b3cab4cc80abb2c4134bb
|
|
| MD5 |
ad8591226c4be5efe5582ff07354506e
|
|
| BLAKE2b-256 |
c98f1aafe88f882e7139cccfa2ba450a01e79b41e0471332e48a604e9cd10983
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8d2bf1240fd65a79ff8722852664de5b147b45c11b27c5a6f943bfc1c35e64b
|
|
| MD5 |
6f09541028e42307c2d4f7cf4f397c23
|
|
| BLAKE2b-256 |
e167523fc4cbae12e766e6207767bba8f2f21066237f561b64e8747ccb35e4a3
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe9238f4acc575637b09536ee6bfd9339a55f8027d026419c2adca74ee848a81
|
|
| MD5 |
60a83a2a5c25ab0891a3362aacca2f8d
|
|
| BLAKE2b-256 |
e41029b0cd0d139d731586ff23d88b2f6f26e914ee07f92ae1450a17e53b54e5
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e5a7f8e2a3d290e6d6a83105bfe51609330abccb8b0aec3c57143c7250d7ccf
|
|
| MD5 |
a7f6b5bdaf1f2eb443b3fc45ffbbd64c
|
|
| BLAKE2b-256 |
72c9b7eb3a004f24d1d43740e94876933f9445d3932198261e18f83abdf85f28
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ad10363e5d69f06a1a363bc0840411ce90d388281852b8e5f00d735341f6720
|
|
| MD5 |
7a16377213be698d37a0353585c68ceb
|
|
| BLAKE2b-256 |
fb01a8985c99087d29094d5f425c8120124832cd6914d0cb3b31463c19bf09dc
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12a09e0de0c4da588403b0f6a0f100559a642bc9f42a4b48dbb41c8009cd0953
|
|
| MD5 |
cc66a6fe92dd42782bd62584cc006163
|
|
| BLAKE2b-256 |
e6ba40eac24dbc123ea60bd83f18602e14c2fc5fc1b8d6203c7940df1dd50570
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f60cd70416a10278dfbcadf155d6ff96e5d6f75d7bb792db15f770bbe196609
|
|
| MD5 |
813df6cea473bc3fb966b8068627d679
|
|
| BLAKE2b-256 |
f0502de9e9254dd09e4999887e359f114805b4dfb72ce728f6335b43dc2c1ab9
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64b8fc542a011d2e507b17c53fa00bc9807f6d2210c34e6bd5b03bbd8dcbc4b7
|
|
| MD5 |
4ed213cc5265dca01d9886ab9418ba38
|
|
| BLAKE2b-256 |
6e158d36dd885e5a71a567ce09ef2b8ace84bbce0bf8231fbdd9e7beff9c906f
|
File details
Details for the file mdrefcheck-0.1.6-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: mdrefcheck-0.1.6-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c16e123bb93aac03413528fcca93f381bcd23b3e16a2ba8510a46c1cea9e6310
|
|
| MD5 |
a5ac554b712ce6bf6efd7a2a0ecb6cc0
|
|
| BLAKE2b-256 |
41c5b66cba48926c82df00ce7c3158b3354e580a66d4d00ad86a9652c4b31ac6
|