Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markdown-link-checker-0.1.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

markdown_link_checker-0.1.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page