gatsby-remark-spotify

1.0.2 • Public • Published

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, 
            }
          }
          ]
        }
      },
  1. Restart gatsby.

Usage

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

License

MIT

/gatsby-remark-spotify/

    Package Sidebar

    Install

    npm i gatsby-remark-spotify

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    57.6 kB

    Total Files

    6

    Last publish

    Collaborators

    • c0b41