diff --git a/packages/components/src/server/next.config.ts b/packages/components/src/server/next.config.ts index 511faea0d..9897d8015 100644 --- a/packages/components/src/server/next.config.ts +++ b/packages/components/src/server/next.config.ts @@ -75,6 +75,9 @@ const rehypeCheckFrontMatter: Plugin<[], any> = () => (ast, file) => { export const defaultNextraOptions: NextraConfig = { defaultShowCopyCode: true, whiteListTagsStyling: ['iframe', 'video', 'source'], + search: { + codeblocks: false, + }, mdxOptions: { // Check front matter only in production (when Webpack is used) // Should be rehype since frontMatter is attached in remark plugins