diff --git a/src/components/MDXComponents.tsx b/src/components/MDXComponents.tsx index 02b29f38a4..54c03220f8 100644 --- a/src/components/MDXComponents.tsx +++ b/src/components/MDXComponents.tsx @@ -80,7 +80,14 @@ const MDXComponents = { ), // code - code: ({ children, ...props }: any) => {children} + code: ({ children, ...props }: any) => {children}, + // list + ul: ({children}: any) => { + return {children} + }, + li: ({ children }: any) => { + return {children} + } }; export default MDXComponents;