Skip to content
New issue

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

allow processing of custom markdown nodes #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rburgst
Copy link

@rburgst rburgst commented Sep 12, 2020

in case you created markdown nodes programmatically
(e.g. since you want to process markdown content in frontmatter fields),
you can now provide a custom resolver function that calculates the correct path for the markdown content.

Fixes #43

in case you created markdown nodes
programmatically (e.g. since you want
to process markdown content in
frontmatter fields), you can
 now provide a custom resolver function
that calculates the correct path for
the markdown content.
Fixes danielmahon#43
@rburgst
Copy link
Author

rburgst commented Sep 15, 2020

anyone home?

@timothy-kodes
Copy link

Does this resolve the famous "Field “image” must not have a selection since type “String” has no subfields" because I think I have tried absolutely everything. It worked sporadically with [email protected]" but not at all with v2

@rburgst
Copy link
Author

rburgst commented Nov 25, 2020

@dancingMonkey dont think this is related, however, I am not sure which problem you are referring to. Yours sounds like a wrong query. This patch will rewrite image urls in frontmatter markdown fields.

@timothy-kodes
Copy link

@dancingMonkey dont think this is related, however, I am not sure which problem you are referring to. Yours sounds like a wrong query. This patch will rewrite image urls in frontmatter markdown fields.

A little bit late but you are right, got it fixed. Messed up the gatsby-config🤔😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support also non-file markdown remark nodes
3 participants