From 8a09181caee28e8e3b0b9f6de891c6c545854046 Mon Sep 17 00:00:00 2001 From: Krishna Ayyalasomayajula Date: Tue, 2 Jun 2026 01:13:42 -0500 Subject: [PATCH] fix: remove filterMetaString callback from rehypePrettyCode config --- next.config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index 2b68a65..fefdec6 100644 --- a/next.config.ts +++ b/next.config.ts @@ -27,7 +27,6 @@ const withMDX = createMDX({ theme: { light: 'github-light', dark: 'github-dark-dimmed' }, keepBackground: false, lineNumbers: true, - filterMetaString: (metaString: string | undefined) => (metaString || '') + ' showLineNumbers', grid: true, transformers: [ transformerCopyButton({ visibility: 'hover', feedbackDuration: 2500 }),