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.6.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for feathercarver-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5fdbb6a795a5b62166758eb68aa5f73a559f253a8079ecde0d1a43c936fca53 |
|
MD5 | e8647d6a8989ba9709c9c1ffd4990bbc |
|
BLAKE2b-256 | 8d19b71bf8c2a9b63cc0a323f0245659a5cf9c07fe14d04b437da8fea0fefe83 |