npm install gatsby-source-medium-posts
// gatsby-node.js
module.exports = {
plugins: [
{
resolve: `gatsby-source-medium-posts`,
options: {
username: "glweems",
},
},
],
}
Content field returns html of your blog post.
// Example Query
{
allMediumPost {
edges {
node {
id
title
pubDate
link
guid
author
thumbnail
content
categories
description
}
}
}
}