Skip to content

v0.1.0 - Initial Release: Markdown Link & Image Resolution

Choose a tag to compare

@Encephos Encephos released this 26 Aug 06:19
· 6 commits to main since this release
8782caa

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 into data:image/...;base64 strings 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