pages/_app.js
component.- frontmatter
{ "description": "It works for regular markdown files too" }
- title
"Markdown demo"
Markdown demo
Although Markdown files don’t support ESM syntax like MDX, values generated by plugins such as rehype-mdx-title or remark-mdx-frontmatter, will be detected.