convert_html_to_markdown
Transform HTML files into Markdown with preserved structure, links, images, and tables. Automatically saves outputs to a specified directory, ideal for streamlined document conversion.
Instructions
Enhanced HTML to Markdown conversion with style preservation. Converts HTML files to clean Markdown format while preserving structure, links, images, tables, and formatting. Output directory is controlled by OUTPUT_DIR environment variable. Files will be automatically saved to OUTPUT_DIR with auto-generated names.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
debug | No | Enable debug output | |
htmlPath | Yes | HTML file path to convert | |
includeCSS | No | Include CSS styles as comments in Markdown | |
preserveStyles | No | Preserve HTML formatting and styles |