Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use pandoc[1] for this.

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


This works too:

    pandoc -t markdown http://example.com


Nice. Didn't know pandoc can directly read from an URL, even easier.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: