A command-line interface that, given a markdown file, verifies all the links work.
Project description
Markdown Link Checker
A command-line utility written in Python that checks validity of links in a markdown file.
Install
pip install markdown-link-checker
Usage
link_checker "markdown-file.md"
Output
Invalid links in document
| link | reason |
|---|---|
| http://example.c | HTTPConnectionPool(host='example.c', port=80): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection. HTTPConnection object at 0x1066924d0>: Failed to establish a new connection: [Errno ] nodename nor servname provided, or not known')) |
| htp://google.com | No connection adapters were found for 'htp://google.com' |
| http//google.com | Invalid URL 'http//google.com': No schema supplied. Perhaps you meant http://http//google.com? |
Valid links in document
| text | link |
|---|---|
| here | http://example.com |
| Udemy | https://udemy.com |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 markdown-link-checker-0.1.0.tar.gz.
File metadata
- Download URL: markdown-link-checker-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98dcbe0bedc1c0e796f201f629603a5afb76dcf82412f3fa4173210a7b4d6179
|
|
| MD5 |
351462cf0a8a37964f333e96ba09772e
|
|
| BLAKE2b-256 |
1025386fbe7fd6afef1c9ad88c54ec062812457f55df49223595f0fc9fbda9d7
|
File details
Details for the file markdown_link_checker-0.1.0-py3-none-any.whl.
File metadata
- Download URL: markdown_link_checker-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f0edf652de4b698496611e359ebb77f0e3d409767a7c83a241abc40127ac04a
|
|
| MD5 |
7e77e7a5b34a532ccb409a9644a31c3b
|
|
| BLAKE2b-256 |
72d8a982042afa27e391504a14ca40720fb0e4cfcc84ff02200db88dc2756905
|