html-to-markdown-cli

html-to-markdown-cli

Convert HTML to Markdown in the terminal

Description

Saving a web article or old HTML docs as Markdown by copy and paste mangles the formatting, and fixing it by hand is tedious. Give html-to-markdown-cli a local HTML file or a URL and it writes clean Markdown to a dist folder.

Run it with npx without a global install, or use the underlying module in your own Node.js code.

Features



Files or URLs:Convert local HTML or fetch pages directly.

Clean output:Well-structured Markdown files.

No install needed:Run npx @wcj/html-to-markdown-cli.

Programmable:The @wcj/html-to-markdown module works in code.