gatsby-source-medium-feed

Gatsby plugin to get posts written in medium

Downloads
2.4K
Stars
9
Committers
3

Gatsby source medium feed

This plugin returns the content of medium posts.

Available properties are:

  • title
  • date
  • author
  • link
  • content
  • thumbnail
  • slug

Usage

  1. Run npm i -S gatsby-source-medium-feed
  2. Add plugin to your gatsby-config.js :
plugins: [
  {
    resolve: 'gatsby-source-medium-feed',
    options: {
      userName: '@...', // Medium user name
      name: 'MediumFeed', // GraphQL query AllMediumFeed
    },
  },
]
Package Rankings
Top 5.05% on Npmjs.org