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

Add support for other markdown file extensions #612

Conversation

mkvoya
Copy link
Contributor

@mkvoya mkvoya commented Dec 19, 2016

This patch adds support for more markdown file extensions.
More files can be treated as page files. However, wrappers for different extensions are still separately needed for rendering.
The extension list comes from github/markup

BTW, why is '.md' the only supported extension by default? Is that intentional? If so, just close this PR :)

@KyleAMathews
Copy link
Contributor

This is sweet! Thanks! The main reason these other extensions aren't supported is I didn't know they existed :-D I'll make a new release real quick.

@KyleAMathews KyleAMathews merged commit 2d8e786 into gatsbyjs:master Dec 19, 2016
@KyleAMathews
Copy link
Contributor

Out in 0.12.27 🎉

@mkvoya mkvoya deleted the topics/add-other-markdown-extensions-support branch December 20, 2016 04:48
@kwangkim
Copy link

kwangkim commented Jan 30, 2017

I just changed extensions from md to markdown. It does not seem to work.
Could you check this problem?

@kwangkim
Copy link

I figured out. I did not put "markdown" wrapper in addition to "md" wrapper.
https://github.com/gatsbyjs/gatsby/blob/master/lib/isomorphic/create-routes.js#L123

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.

None yet

3 participants