Converting HTML to Markdown using Markdownify
I had some HTML content that I wanted to convert to markdown.
The simplest tool I found to do this effectively was a python utility called Markdownify.
I used Nix Shell to install it:
And to do the conversion I just did:
where myfile.html
is the name of the file I wanted to convert and myfile.md
in the name of the markdown file it got converted to.