I’ve been looking at some static solution instead of Wordpress for a long time, considering that it’s completely pointless to burn processor cores and my nerves on unnecessary and slow features.

Jekyll, here we are.

Jekyll allows information to be stored in a simpler, easily accessible and processable format. Markdown is certainly much more suitable for this than Wordpress posts. There are practically two layers to the solution: the format of the documents (markdown) and the blog engine (Jekyll).

Markdown meets the main requirements for document formatting (headings, paragraphs, numbering, bullets, images, links) and “there is a way forward” to more sophisticated formats, be it Word, HTML, LaTex, PDF.

Migrating Wordpress posts

In Wordpress: Tools > Export > All content > Download Export File

From command prompt (don’t need to install anything, except node >=12.14):

npx wordpress-export-to-markdown --post-folders=false --prefix-date=true export.xml

--post-folders=false --prefix-date=true option puts meta info for Jekyll in markdown files. Yeyy!

Checkout: https://www.npmjs.com/package/wordpress-export-to-markdown

After that, all we have to do is pick and choose what we want to keep and it can go to Jekyll.

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.