One of the surprising things about converting HTML to Markdown: You often don't need to.
- grab .md files from repos - append `/index.md` or `.md` to URL - use 'Accept: text/markdown' header - GitHub docs article API -> `/api/article?pathname=` - ... and lots of other shortcuts
You can try out:
- the playground https://curl.md/playground - do `curl curl.md/example.com` in your terminal - or open curl.md/example.com in your browser
GitHub if anyone wants to take a look https://github.com/wevm/curl.md