Home » Wordpress » How to convert WordPress blog posts from Textile 2 to Markdown?

How to convert WordPress blog posts from Textile 2 to Markdown?

Posted by: admin November 30, 2017 Leave a comment

Questions:

I switched from Movable Type to WordPress about a year or two ago. But I have continued to write my posts using Textile 2 formatting (with the help of a WP plugin).

I’ve been impressed by the way Markdown has proliferated across the web; everywhere from StackOverflow to GitHub and beyond.

So, I’m toying with the idea of converting all my Textile 2-formatted blog posts to Markdown, and I wondered how I might go about doing that.

I saw on this StackOverflow question a suggestion to use Pandoc to convert between formats.

Could I use Pandoc to process an SQL export from WordPress, and then re-import it to WP? What would be the pitfalls?

Or anyone have alternative suggestions on a way to do this?

Answers:

I’ve been playing around with the static blog generators Jekyll and Octopress, which use Markdown as an authoring format. People have written a few tools to export WordPress to markdown:

https://github.com/mojombo/jekyll/wiki/blog-migrations

Caveat that I haven’t used any of them, but hopefully they help get you started.