TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: CLI tool to download webpages and convert to Markdown?

12 pointsby raytraceralmost 5 years ago
Is there a CLI tool that downloads webpages and converts them to Markdown?<p>I&#x27;ve just started using Obsidian https:&#x2F;&#x2F;obsidian.md&#x2F; and would like a way to save interesting blog posts and articles.

4 comments

milesalmost 5 years ago
<p><pre><code> curl --silent https:&#x2F;&#x2F;example.com&#x2F;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:&#x2F;&#x2F;www.cantoni.org&#x2F;2019&#x2F;01&#x2F;27&#x2F;converting-html-markdown-using-pandoc" rel="nofollow">http:&#x2F;&#x2F;www.cantoni.org&#x2F;2019&#x2F;01&#x2F;27&#x2F;converting-html-markdown-u...</a>
评论 #23498492 未加载
评论 #23497206 未加载
longimanusalmost 5 years ago
I find Joplin <a href="https:&#x2F;&#x2F;joplinapp.org" rel="nofollow">https:&#x2F;&#x2F;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
评论 #23497055 未加载
dougskinneralmost 5 years ago
I made this a couple weeks ago: <a href="https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;@dougskinner&#x2F;markdowner" rel="nofollow">https:&#x2F;&#x2F;www.npmjs.com&#x2F;package&#x2F;@dougskinner&#x2F;markdowner</a>
anandologyalmost 5 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;aaronsw&#x2F;html2text" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;aaronsw&#x2F;html2text</a>
评论 #23499394 未加载