Skip to main content
View plugin on GitHub
See starters using this

gatsby-remark-spotify

Embed a Spotify Track or Album to in your Markdown

npm

Install

  1. Install plugin to your site:
yarn add gatsby-remark-spotify
  1. Add following to your gatsby-config.js:

    plugins: [      
      {
        resolve: "gatsby-transformer-remark",
        options: {
          plugins: [
          {
            resolve: "gatsby-remark-spotify",
            options: {
              width: 800,
              height: 400, 
            }
          }
          ]
        }
      },
  2. Restart gatsby.

Usage

`spotify:https://open.spotify.com/track/5K2ZAJ7GezwevGYBuh9rct`
`spotify: https://open.spotify.com/album/2Fb37JsRMVPASJcl3wwDOa` 

License

MIT


Docs
Tutorials
Plugins
Blog
Showcase