A Python tool to fix broken Markdown links in files
Project description
Feathercarver
Feathercarver is a Python tool designed to fix broken Markdown links in files. It can handle various types of Markdown links, including those with titles, and can process multiple files at once.
Features
- Fixes broken Markdown links split across multiple lines
- Preserves code blocks and inline code
- Handles links with titles (both single and double quotes)
- Processes multiple files in a single run
- Maintains the original file structure and content outside of links
Installation
To install Feathercarver, you can use pip:
pip install feathercarver
Usage
You can use Feathercarver from the command line:
feathercarver file1.md file2.md file3.md
This will process all the specified Markdown files, fixing any broken links it finds.
Development
To set up the development environment:
-
Clone the repository:
git clone https://github.com/gkwa/feathercarver.git cd feathercarver
-
Install dependencies:
rye sync . .venv/bin/activate
-
Run tests:
pytest
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
feathercarver-0.1.16.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for feathercarver-0.1.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdaa96344098802ab6a72d1d430cb61c9a76c05bb84788f722e1642e4217c640 |
|
MD5 | 5af9378bec1882845892cd2293c63183 |
|
BLAKE2b-256 | b68edb8bc02842d1b57279749c528693711cd72e61c8e84645a5f24ce26b67fb |