percollate_download_md
Download web pages as clean Markdown files. Convert one or multiple URLs into readable Markdown articles, with options for table of contents, cover page, and custom styling.
Instructions
Download one or more web pages as a Markdown file. Produces clean, readable Markdown from web articles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | Additional CSS to override styles. | |
| toc | No | Generate a table of contents. | |
| urls | Yes | One or more URLs to convert. | |
| wait | No | Seconds to wait between processing URLs (sequential mode). | |
| cover | No | Generate a cover page. | |
| debug | No | Print detailed debug info. | |
| style | No | Path to a custom CSS stylesheet. | |
| title | No | Title for the bundle. | |
| author | No | Author for the bundle. | |
| inline | No | Embed images inline as base64 data URLs. | |
| no_amp | No | Don't prefer the AMP version of the page. | |
| output | No | Output file path (absolute or relative). If it ends with / or has no extension, treated as a directory and a filename is auto-generated. Directories are created automatically. | |
| template | No | Path to a custom HTML template (nunjucks). Applies to pdf, html, md. | |
| hyphenate | No | Enable hyphenation. Default: true for pdf, false otherwise. | |
| toc_level | No | Heading depth for ToC (1–6). Values >1 imply --toc. | |
| individual | No | Export each URL as a separate file instead of bundling. |