MichaelDeBoey/gatsby-remark-embedder

Add ability to pass embed-specific options

Closed this issue · 2 comments

If we can let users to add certain options to specific embeds thought gatsby-config.js then it will increase the flexiblity.

for example we can do :

{
  resolve: `gatsby-remark-embedder`,
  options: {
    codepen: {
      height: 800,
      theme: `light`
    },
    youtube: {
      height: 500
    }
  }
},

That way we can set embed specific parameters like height or theme

also some other embed specific parameters like Codepen embed's ?theme=light

🎉 This issue has been resolved in version 1.16.0 🎉

The release is available on:

Your semantic-release bot 📦🚀