I’ve been looking for a static solution instead of Wordpress for a long time, as it’s completely pointless to burn processor cores and nerves with unnecessary and slow functions.

Jekyll, here we are.

Jekyll allows information to be stored in a simpler format that is easier to work with. Markdown is certainly much better for this than Wordpress posts. There are basically two layers to the solution: the document format (markdown) and the blog engine (Jekyll).

Markdown meets the basic 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

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

See the Jekyll docs for more information on how to get the most out of Jekyll. Submut any bugs/feature requests to Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.