Created 2 scripts to handle imports. First, the XML file from WP gets converted to HTML files in the /posts folder by running the 'generate-html-from-xml.php' file at command line. After that, you should have a /posts/ directory full of HTML files with the proper content. During conversion from XML -> HTML, you will be notified of any posts that ended up with the same slug so you can go back and process them manually. To convert your HTML scripts to MD, we employ the 'convert-html-to-md.php' script that will batch process the /posts/ folder using a tool called Pandoc ( link in code ). You must have Pandoc installed in order for this to work.