4 ms·
I use pandoc[1] for this. curl -s example.com | pandoc -f html -t markdown - [1]: http://johnmacfarlane.net/pandoc/ http://johnmacfarlane.net/pandoc/
by janerik 14y ago
I use pandoc[1] for this.
curl -s example.com | pandoc -f html -t markdown -
[1]: http://johnmacfarlane.net/pandoc/ http://johnmacfarlane.net/pandoc/
- fiddlosopher 14y agoThis works too: pandoc -t markdown http://example.com
- janerik 14y agoNice. Didn't know pandoc can directly read from an URL, even easier.