diff --git a/src/components/MDXComponents.tsx b/src/components/MDXComponents.tsx index c9b65b5a6f..4dfef53f22 100644 --- a/src/components/MDXComponents.tsx +++ b/src/components/MDXComponents.tsx @@ -36,22 +36,6 @@ SyntaxHighlighter.registerLanguage('swift', swift); const { header1, header2, header3, header4 } = textStyles; -const MdTable = ({ children }: any) => ( - - - {children} -
-
-) - const Code = ({ className, ...code }: any) => { const { colorMode } = useColorMode(); const isDark = colorMode === 'dark'; @@ -160,7 +144,22 @@ const MDXComponents = { ); }, // tables - table: MdTable, + table: ({ children }: any) => ( + + + {children} +
+
+ ), // pre pre: ({ children }: any) => { return (