Add ability to pass embed-specific options
Closed this issue · 2 comments
anuraghazra commented
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
anuraghazra commented
also some other embed specific parameters like Codepen embed's ?theme=light
MichaelDeBoey commented
🎉 This issue has been resolved in version 1.16.0 🎉
The release is available on:
npm package (@latest dist-tag)
- GitHub release
Your semantic-release bot 📦🚀