All page props are available in the pages/_app.js component.
frontmatter
{
  "description": "This works great with remark-mdx-frontmatter"
}
title
"MDX demo"
variable
"All top-level variables are exported through props"

MDX demo

Props

Any exports are also available as props in the page now, but serialized as JSON.

frontmatter
{
  "description": "This works great with remark-mdx-frontmatter"
}
title
"MDX demo"
variable
"All top-level variables are exported through props"

Links