Convert a folder of markdown files (in Jekyll/hexo/eleventy style) to a WordPress XML import file.
This should produce a valid XML file that you can import into WordPress using the importer in Tools 👉 Import 👉 Wordpress.
Good luck!
node index.js --input /path/to/markdowns