html2markdown

Convert HTML documents to Markdown format

brewmacoslinux
Try with needOr install directly
Source

About

Convert HTML to Markdown

Commands

html2markdown

Examples

Convert a local HTML file to Markdown$ html2markdown input.html > output.md
Convert HTML from stdin to Markdown$ echo '<h1>Hello</h1><p>World</p>' | html2markdown
Convert an HTML file and save to specific output file$ html2markdown -o output.md input.html