I've just started using Obsidian https://obsidian.md/ and would like a way to save interesting blog posts and articles.
Ask HN: CLI tool to download webpages and convert to Markdown?
1–10 of 10 posts
Re: Ask HN: CLI tool to download webpages and convert to Markdown?
#2 curl --silent https://example.com/foo.html | pandoc --from html --to markdown_strict -o foo.md
From Converting HTML to Markdown using Pandoc http://www.cantoni.org/2019/01/27/converting-html-markdown-u...Re: Ask HN: CLI tool to download webpages and convert to Markdown?
#3Re: Ask HN: CLI tool to download webpages and convert to Markdown?
#4I find Joplin https://joplinapp.org 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
Re: Ask HN: CLI tool to download webpages and convert to Markdown?
#5curl --silent https://example.com/foo.html | pandoc --from html --to markdown_strict -o foo.md From Converting HTML to Markdown using Pandoc http://www.cantoni.org/2019/01/27/converting-html-markdown-u...
Re: Ask HN: CLI tool to download webpages and convert to Markdown?
#6curl --silent https://example.com/foo.html | pandoc --from html --to markdown_strict -o foo.md From Converting HTML to Markdown using Pandoc http://www.cantoni.org/2019/01/27/converting-html-markdown-u...
I tried that on a HackerNews page and the content of the output file foo.md was in html.
curl --silent https://tinyapps.org/ | pandoc --from html --to markdown_strict -o index.mdRe: Ask HN: CLI tool to download webpages and convert to Markdown?
#7Re: Ask HN: CLI tool to download webpages and convert to Markdown?
#8curl --silent https://example.com/foo.html | pandoc --from html --to markdown_strict -o foo.md From Converting HTML to Markdown using Pandoc http://www.cantoni.org/2019/01/27/converting-html-markdown-u...
Re: Ask HN: CLI tool to download webpages and convert to Markdown?
#9Re: Ask HN: CLI tool to download webpages and convert to Markdown?
#10https://github.com/aaronsw/html2text