gatsby-transformer-remark - add additional helpful fields to MarkdownRemark nodes from parent File
node
#30393
Unanswered
kimbaudi
asked this question in
Ideas / Feature Requests
Replies: 1 comment
-
For those who want to do it before the plugin supports it, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently,
MarkdownRemark
nodes created fromgatsby-transformer-remark
plugin providesfileAbsolutePath
field and I use it to filter markdown nodesBut if
gatsby-transformer-remark
plugin also providedsourceInstanceName
,relativeDirectory
,name
fields from its parentFile
node, then my graphql query to filter markdown nodes could be simplified to this:It would be awesome if
gatsby-transformer-remark
could provide the following nodes:or better yet:
Beta Was this translation helpful? Give feedback.
All reactions