Is there a CLI tool that downloads webpages and converts them to Markdown?<p>I've just started using Obsidian https://obsidian.md/ and would like a way to save interesting blog posts and articles.
<p><pre><code> curl --silent https://example.com/foo.html | pandoc --from html --to markdown_strict -o foo.md
</code></pre>
From <i>Converting HTML to Markdown using Pandoc</i> <a href="http://www.cantoni.org/2019/01/27/converting-html-markdown-using-pandoc" rel="nofollow">http://www.cantoni.org/2019/01/27/converting-html-markdown-u...</a>
I find Joplin <a href="https://joplinapp.org" rel="nofollow">https://joplinapp.org</a> does a good job of producing markdown from web pages and already has sync capability built in. Looks like it would be ideal for working with Obsidian
I made this a couple weeks ago: <a href="https://www.npmjs.com/package/@dougskinner/markdowner" rel="nofollow">https://www.npmjs.com/package/@dougskinner/markdowner</a>