diff --git a/components/common/Markdown.tsx b/components/common/Markdown.tsx index 87da4d3e7..d6fdae526 100644 --- a/components/common/Markdown.tsx +++ b/components/common/Markdown.tsx @@ -76,7 +76,7 @@ const Markdown: React.FC = ({ link: (props: any) => { const { children } = props; return ( - + {children} ); diff --git a/components/common/MyLink.tsx b/components/common/MyLink.tsx index c999eed10..caffc5c3f 100644 --- a/components/common/MyLink.tsx +++ b/components/common/MyLink.tsx @@ -8,6 +8,7 @@ interface Props { isExternal?: boolean; prefetch?: boolean; isColored?: boolean; + toNewWindow?: boolean; } const MyLink: React.FC = ({ @@ -16,12 +17,17 @@ const MyLink: React.FC = ({ isExternal, prefetch = false, isColored = true, + toNewWindow, }) => { const { themeColorShade } = useMyTheme(); if (isExternal) { return ( - + {children} );