Open Yxwww opened 4 years ago
https://nextjs.org/docs/api-reference/data-fetching/get-static-props#reading-files-use-processcwd
https://markdoc.dev/docs/getting-started#use-markdoc
Doesn't seem to have the need to use markdoc nextjs since it takes over the whole site.
Requirements
Resources
Read blog files from path in nextJS
https://nextjs.org/docs/api-reference/data-fetching/get-static-props#reading-files-use-processcwd
Markdoc rendering
https://markdoc.dev/docs/getting-started#use-markdoc