NOTE: Custom install command to make this work:
rm -rf node_modules/ && npm cache clean --force && npm rebuild --verbose sharp && rm package-lock.json && npm install
Just add the Blog Markdown file in src/pages/
and everything should be set.
Frontmatter accepts the following fields:
{
path: String
title: String
author: String
date: String of format (YYYY-MM-DD)
featured: Boolean
featuredImage: String (path to the image)
}
Use the medium-to-markdown
script to generate the markdown version of the blogs
node medium-to-markdown <medium-url> > /path/to/file.md