I use pandoc[1] for this.
curl -s example.com | pandoc -f html -t markdown -
[1]: http://johnmacfarlane.net/pandoc/ curl -s example.com | pandoc -f html -t markdown -
[1]: http://johnmacfarlane.net/pandoc/ pandoc -t markdown http://example.com