Unverified Commit 9c83a345 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix missing PagesOnly in 05-mdx (#64505)

Looks like we have a syntax error in
https://github.com/vercel/next.js/pull/63568 from missing closing
`</PagessOnly>` tag.

```sh
b383-75ab3d452c93.mdx:0:0: ERROR: [plugin: @mdx-js/esbuild] Expected a closing tag for `</PagesOnly>` (503:1-503:12)
```

x-ref: https://github.com/vercel/next.js/pull/63568

Closes NEXT-3111
parent 4623eace
...@@ -539,6 +539,8 @@ export default function MDXPage({ children }) { ...@@ -539,6 +539,8 @@ export default function MDXPage({ children }) {
} }
``` ```
</PagesOnly >
## Frontmatter ## Frontmatter
Frontmatter is a YAML like key/value pairing that can be used to store data about a page. `@next/mdx` does **not** support frontmatter by default, though there are many solutions for adding frontmatter to your MDX content, such as: Frontmatter is a YAML like key/value pairing that can be used to store data about a page. `@next/mdx` does **not** support frontmatter by default, though there are many solutions for adding frontmatter to your MDX content, such as:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment