We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey, thanks a lot for this plugin!
I was trying to get it working, but even after setting the query: "allMdx" I kept on getting an error.
query: "allMdx"
Digging a bit into the issue, for some reason my Gatsby setup doesn't have fields in the MDX nodes, so only have slug in frontmatter.
fields
slug
frontmatter
Was wondering if maybe the best would be to try a few different queries of different shapes before giving up?
So could do a combination of allMdx or allMarkdownRemark and then queries with slug in both places until one works.
allMdx
allMarkdownRemark
If you think that's a good idea I'm willing to submit a PR. This would also implicitly fix #2.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey, thanks a lot for this plugin!
I was trying to get it working, but even after setting the
query: "allMdx"
I kept on getting an error.Digging a bit into the issue, for some reason my Gatsby setup doesn't have
fields
in the MDX nodes, so only haveslug
infrontmatter
.Was wondering if maybe the best would be to try a few different queries of different shapes before giving up?
So could do a combination of
allMdx
orallMarkdownRemark
and then queries withslug
in both places until one works.If you think that's a good idea I'm willing to submit a PR. This would also implicitly fix #2.
The text was updated successfully, but these errors were encountered: