LlmsTxt.Converter (llms_txt v0.1.0)

Copy Markdown View Source

Converts the fetched HTML documentation of a package into a single Markdown document.

Each HTML page is converted with Htmd, the ExDoc chrome is stripped and htmd's markdown escaping is reversed in prose (but preserved in code), so the result is clean Markdown suitable for an llms.txt file.

Summary

Functions

Builds the Markdown content for a package from the HTML pages in package_dir.

Functions

build_markdown(name, version, package_dir)

Builds the Markdown content for a package from the HTML pages in package_dir.