gatsby-source-notion icon indicating copy to clipboard operation
gatsby-source-notion copied to clipboard

Is something broken with childMdx?

Open blackmad opened this issue 2 years ago • 1 comments

I can't seem to find childMdx in the graphql explorer

image

I have gatsby-plugin-mdx being imported into my project via this theme: https://github.com/LekoArts/gatsby-themes/blob/main/themes/gatsby-theme-jodie-core/gatsby-config.mjs

so I'm not sure why I wouldn't be seeing that node.

blackmad avatar Oct 18 '23 11:10 blackmad

Yes. Indeed. I noticed that last year. An alternative is using gatsby-transformer-remark. I've an example in e2e. I should have updated the README. Thanks for pointing out :) https://github.com/alvis/gatsby-source-notion/blob/b785dbb5462cf88a1120ce66f1db798de1269ed6/e2e/gatsby-config.ts#L35-L40 https://github.com/alvis/gatsby-source-notion/blob/b785dbb5462cf88a1120ce66f1db798de1269ed6/e2e/gatsby-node.ts#L58-L70

alvis avatar Oct 18 '23 20:10 alvis