Next.js + Markdown + GraphQL #10743
Replies: 2 comments 1 reply
-
The Next.js docs use markdown fetched from an external source (GitHub in a different repo): https://github.com/zeit/next-site/blob/master/pages/docs/%5B...slug%5D.js#L136-L148 |
Beta Was this translation helpful? Give feedback.
-
Oh sweet I didn't realize the zeit site was open-sourced. This will be a good reference for me as I build my markdown powered site :) Using the next plugin system that's currently an RFC, would we, in theory, be able to create something similar to the |
Beta Was this translation helpful? Give feedback.
-
Gatsby has a really great plugin called
gatsby-transformer-remark
that allows you to query markdown files using graphql. How can something similar be achieved with Next.js? I'm keen on using next.js + open authored markdown for my next jamstack site, but I want that graphql goodness!Perhaps something similar can be unlocked once support for plugins lands.
Beta Was this translation helpful? Give feedback.
All reactions