A HTML to markdown converter.
Powered by html2md.
go install github.com/shravanasati/ananke
ananke can read input from STDIN as well as from the arguments passed to it. If multiple arguments are passed, they are concatenated.
Read a HTML file and print the Markdown output:
cat index.html | anankeRead a HTML file and write a new Markdown file:
cat index.html | ananke > index.mdRead a HTML file, print the output as well as write it to a file:
cat index.html | ananke | tee /dev/tty index.mdRead HTML from a URL and print the output:
curl --no-progress-meter -L https://wikipedia.org/wiki/Anime | ananke