Skip to content

Commit

Permalink
feat(gatsby-transformer-remark): subscribe to mimeTypes in defs(#16172)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh authored and wardpeet committed Jul 29, 2019
1 parent 272d22f commit d80c273
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ const typeDefs = `
sentences: Int
words: Int
}
type MarkdownRemark implements Node @infer @childOf(mimeTypes: ["text/markdown", "text/x-markdown"]) {
id: ID!
}
`

module.exports = (nodeApiArgs, pluginOptions = {}) => {
Expand Down

0 comments on commit d80c273

Please sign in to comment.