diff --git a/src/theme/MDXComponents.tsx b/src/theme/MDXComponents.tsx index 760065ddf5..e8f7026c69 100644 --- a/src/theme/MDXComponents.tsx +++ b/src/theme/MDXComponents.tsx @@ -96,7 +96,17 @@ export default { TabbedContent, details: (props: any) => , TabItem, - Link, + a: (props: any) => { + if (props?.href?.includes("prisma.io/") || props?.href?.charAt(0) === "/") + return {props.children} + else + return + {props.children} + + + + + }, TopBlock, CodeWithResult, SwitchTech,