html-to-markdown(1)

html-to-markdown1

Convert html to markdown

Usage

html-to-markdown [OPTIONS] [FILE]

Overview

If no file is given, input will be read from STDIN

Options

-h, --help Shows help and usage information

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

Releases

3 releases since Debian 11 (Bullseye); the text changed 2 times.

  1. 11
  2. 12
  3. 13

From php-league-html-to-markdown 5.1.1-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.