diff --git a/docs/advanced-features/using-mdx.md b/docs/advanced-features/using-mdx.md index bdfb3b3e8f3d0..8087473ca22d1 100644 --- a/docs/advanced-features/using-mdx.md +++ b/docs/advanced-features/using-mdx.md @@ -51,7 +51,8 @@ The following steps outline how to setup `@next/mdx` in your Next.js project: }, }) module.exports = withMDX({ - pageExtensions: ['js', 'jsx', 'md', 'mdx'], + // Append the default value with md extensions + pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'], }) ```