Closed motin closed 4 years ago
Hi there and thank's for contributing.
Does this work for you? Do you have it running somewhere? I'm not in a position to test this right now, since I'm not using MDX.
But if this works, I'm happy to include your change in the next release.
Yes, this works as in "supplying all the same parameters to generateCard as a setup using MarkdownRemark would do", since Mdx supplies node frontmatter in an identical fashion. In general, I have an issue (reported as https://github.com/andrioid/gatsby-plugin-social-cards/issues/5) on my setup, but I can't imagine it has anything to do with this PR.
The change is out now; https://www.npmjs.com/package/gatsby-plugin-social-cards/v/0.5.15
Thanks again.
Create social cards also for Mdx posts