You can find how to use Markdown in Next.js at https://github.com/zeit/next.js/tree/canary/examples/blog-starter