gatsby-remark-embedder: The plugin doesn't work for Gatsby 4
gatsbyversion: 4.4.0gatsby-transformer-remarkversion: 5.4.0gatsby-remark-embedderversion: 6.0.0nodeversion: 14.15.0npmversion: 6.14.13
Relevant code or config
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-embedder`,
options: {
customTransformers: [],
services: {
// The service-specific options by the name of the service
},
},
},
],
},
},
What you did: Installed the plugin
What happened: The embedding feature didn’t work
Problem description: I’m using gatsby-transformer-remark and I’ve added the gatsby-remark-embedder to the plugin array.
I’ve left 2 empty lines between the url in my markdown. When I open the page the url is just a string and no embedding has happened.
I cleared the Gatsby cash and I put a console.log statement on top of the main function of the plugin(through node_modules) but nothing was logged. My opinion is that gatsby-transformer-remark doesn’t call the gatsby-remark-embedder. The gatsby-transformer-remark works fine because I use it for other things.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (5 by maintainers)
@antogada @mattchannn Please provide me with a bare minimum reproduction repo. So only the really necessary plugins provided. That way I’m sure I’ll only put my time & effort in solving a problem that
gatsby-remark-embedderis causing.Should be fixed by #225 then
@MichaelDeBoey yes, that would accomplish the same end.
@antogada Can you please provide me with a reproduction repo/CodeSandbox that I can look into?