Adam Garrett-Harris

Export from Markdown with Frontmatter to Contentful

July 21, 2018

Originally, I tried to do it by hand, and recruit help… Then I realized Contentful has an import tool… But my data is stored in a bunch of markdown files with frontmatter…

I will convert the markdown files from the old Jekyll site using this: https://github.com/scottstanfield/markdown-to-json

$ m2j -c `ls _sermons`

And then I’ll use Contentful’s import tool to get it into Contentful.


Adam Garrett-Harris

Written by Adam Garrett-Harris who lives and works in Silicon Slopes. You should follow him on Twitter