Scott Jack

WordPress Export to Markdown

Earlier this year, I imported posts from over a decade of blogging into Squarespace. Then I decided to move back here, to Bearblog. This platform doesn't have import tools yet, so initially I was copy-pasting from the Squarespace editor into Bearblog.

Lo! There is a (marginally) better way.

Squarespace uses the WordPress XML format to export blog content. After downloading this, I used lonekorean/wordpress-export-to-markdown to, wait for it, convert the WordPress export to Markdown files. It gave me errors related to trying to fetch images, so I settled for just the text files.

Now I can copy-paste Markdown to Markdown, and I only need to adjust the front matter to Bearblog's format (and get images manually).

#blog migration #post