Gatsby plugin to get posts written in medium
npm install gatsby-source-medium-feedThis plugin returns the content of medium posts.
Available properties are:
- title
- date
- author
- link
- content
- thumbnail
- slug
1. Run npm i -S gatsby-plugin-medium-feed
1. Add plugin to your gatsby-config.js :
``js``
plugins: [
{
resolve: 'gatsby-plugin-medium-feed',
options: {
userName: '@...', // Medium user name
name: 'MediumFeed', // GraphQL query AllMediumFeed
},
},
]