html-to-md
Installation
SKILL.md
HTML to Markdown Converter
Converts HTML/HTM files to clean Markdown using a bundled Node.js script with zero external dependencies.
Bundled Path Rule
Resolve bundled paths relative to the directory that contains this SKILL.md.
When invoking a helper from another working directory, expand <html-to-md-dir> to that directory first so the command is unambiguous.
Step 1: Identify Input Files
- Confirm the input path(s). Accept
.htmlor.htmextensions. - For a single file, verify the file exists and is readable.
- For batch conversion, identify the directory containing the HTML files.
Step 2: Run the Conversion Script
The conversion script is a mutating helper when writing files (--output / --outdir), and read-only when printing to stdout.