Repository navigation
v0.1.0 - Initial Release: Markdown Link & Image Resolution
I am excited to announce the initial release of markdown-link-resolver! 馃帀
This zero-dependency micro-tool is designed to prepare scraped Markdown and HTML data for Retrieval-Augmented Generation (RAG) and Multimodal LLMs.
Key Features in v0.1.0:
- Relative to Absolute: Automatically resolves all relative links (
[text](/path)) and HTML anchor tags against a given base URL. - Vision LLM Ready (
inline_images): Optionally fetches HTTP(S) images and converts them intodata:image/...;base64strings on the fly, ready for GPT and Claude. - Graceful Fallbacks: Safely ignores anchor links (
#),mailto:links, and falls back to plain URLs if an image download times out (5-second safety limit). - Zero Dependencies: Built entirely using Python's standard library (
re,urllib,base64).
Installation:
pip install markdown-link-resolver==0.1.0