Docx to Markdown
Does anybody know of a script or a way to do something like this in Pythonista? On my PC I use Calibre to convert Docx to HTMLZ, then extract and run the index.html file through Pandoc to get reasonably well-converted markdown of the original docx file. This works, but is more tedious than I'd prefer. I have a way, now, to go from markdown to docx for turning in school assignments written on my ipad, but I'd like to have two way functionality. The process is quickened a little on PC by a phrase express snippet for the Pandoc command, and I want to get a batch script to run the Calibre command line tools and convert automatically, then set up a Belvedere rule for a dedicated Dropbox folder, so any docx dropped into it is automatically converted.
I work mostly on my ipad, so if that can be avoided, it's preferred. Nothing I do found so far quite fits, or I can't see how to adapt it to ipad and Pythonista, so I'm just curious if anybody knows of anything or has ideas. Thanks, all and have a great day!