html-to-markdown - convert HTML to Markdown
Contents
Description
If no file is given, input will be read from STDIN
Examples
Converting a file named document.html:
html-to-markdown document.html
Converting a file and saving its output:
html-to-markdown document.html > output.md
Converting from STDIN:
echo -e '<h1>Hello World!</h1>' | html-to-markdown
Converting from STDIN and saving the output:
echo -e '<h1>Hello World!</h1>' | html-to-markdown > output.md
html-to-markdown 5.1.1 February 2025 HTML-TO-MARKDOWN(1)
Name
html-to-markdown - convert HTML to Markdown
Options
-h, --help Shows help and usage information
Synopsis
html-to-markdown [OPTIONS] [FILE]
