Convert WordPress XML to static Markdown files.
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-wp2md --save-dev
In your project's Gruntfile, add a section named
wp2md to the data object passed into
Add date prefix name to markdown generated file. Example: 2013-11-27-filename.md
Posts destination folder
Drafts destination folder
Pages destination folder
Export your content in "Tools" → "Export" → "WordPress" in your WordPress dashboard and put XML file to /path/to/wordpress.xml
To simplify might do something like:
DATE VERSION CHANGES
Copyright (c) 2014 Hariadi Hinta, contributors.
Released under the MIT license