Do you want to easily convert HTML to Markdown? Simply by copy & paste?
I've a series of HTML blog posts written in HTML with TinyMCE which I want to convert to Markdown Extra. There are several scripts for this task:
- html2text of Aaron Swarz, a "pioneer of the Internet" who sadly passed away
- Markdownify (Text in German)
As I'm using regex the conversion is limited. The HTML must be well formed without errors. Simply,
<p> <br> <strong> <em> <h1> <h2> <h3> <h4> <h5> <a> <li> are replaced with the Markdown equivalent. Thus, a conversion using this script is not fully automatic. But for my task perfect.