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

using mdx in /blog #5

Open
godmar opened this issue Aug 24, 2019 · 1 comment
Open

using mdx in /blog #5

godmar opened this issue Aug 24, 2019 · 1 comment

Comments

@godmar
Copy link

godmar commented Aug 24, 2019

Ok, this is a newbie question. The documentation says that I can use mdx for the blog.

How exactly do I do that? If I place an index.mdx instead of index.md in a subdirectory of blog, it's not picked up. If I use index.md and add 'import { }' statements, they are rendered and not processed.

How do I make use of mdx in the /blog directory?

@godmar
Copy link
Author

godmar commented Aug 24, 2019

ps: it's more confusing. The documentation says:
"/blog: This directory will contain all your blog posts writted using mdx."
and then
"So, by default inside the doczrc.js configuration file, we're ignoring .mdx inside blog/ folder."

How can you both use mdx for blog posts and at the same time ignore .mdx files?

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

No branches or pull requests

1 participant