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

Switch to XDM #14

Open
with-heart opened this issue May 25, 2021 · 1 comment
Open

Switch to XDM #14

with-heart opened this issue May 25, 2021 · 1 comment

Comments

@with-heart
Copy link
Owner

https://github.com/wooorm/xdm

This would give us lots of benefits like hot reloading, automatic loading of pages/**/*.mdx files, and a number of cool features listed in the project's README.

@with-heart
Copy link
Owner Author

I made a good amount of progress on this but I really need to figure out how to access frontmatter, either from within an mdx file or from components.wrapper or something. I tried the recommended instructions but if remark-frontmatter and remark-mdx-frontmatter are working, I can't access {frontmatter.title} or {title}.

Would be nice to understand how to debug this problem too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant