Found this when I was working on converting my wiki from HTML to markdown. Saved me a lot of time.
Aaron Swartz made an HTML-to-Markdown converter in 2004, together with Markdown which he apparently ~co-authored (!) : http://www.aaronsw.com/weblog/001189
My usage of Swartz’s html2text program, was persisting markdown versions of online articles locally: https://github.com/chelmertz/cleader
Ha, it’s fun to see Bob Ippolito’s slightly outraged comment at the bottom of Aaron’s post: “what’s wrong with RST?”
Another popular tool for this kind of conversion is pandoc .
Install: brew install pandoc or apt install pandoc
brew install pandoc
apt install pandoc
Use: pandoc https://daringfireball.net/projects/markdown/ -o markdown.md
pandoc https://daringfireball.net/projects/markdown/ -o markdown.md