Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Modified gatsby/onCreateNode.js to detect .md and .mdx files#178

Open
mountc wants to merge 1 commit into
diegonvs:masterfrom
mountc:use-mdx-files
Open

Modified gatsby/onCreateNode.js to detect .md and .mdx files#178
mountc wants to merge 1 commit into
diegonvs:masterfrom
mountc:use-mdx-files

Conversation

@mountc

@mountc mountc commented Sep 24, 2019

Copy link
Copy Markdown

Hi @diegonvs,

I modified gatsby/onCreateNode.js to detect for .md or .mdx files when creating the slug. This now allows for the use of React Components in markdown files (.mdx).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant