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
Close
Hashes for markdown-link-checker-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98dcbe0bedc1c0e796f201f629603a5afb76dcf82412f3fa4173210a7b4d6179 |
|
MD5 | 351462cf0a8a37964f333e96ba09772e |
|
BLAKE2b-256 | 1025386fbe7fd6afef1c9ad88c54ec062812457f55df49223595f0fc9fbda9d7 |
Close
Hashes for markdown_link_checker-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f0edf652de4b698496611e359ebb77f0e3d409767a7c83a241abc40127ac04a |
|
MD5 | 7e77e7a5b34a532ccb409a9644a31c3b |
|
BLAKE2b-256 | 72d8a982042afa27e391504a14ca40720fb0e4cfcc84ff02200db88dc2756905 |