diff --git a/src/components/Markdown/Markdawn.tsx b/src/components/Markdown/Markdawn.tsx index 0c3fd85..873370b 100644 --- a/src/components/Markdown/Markdawn.tsx +++ b/src/components/Markdown/Markdawn.tsx @@ -41,7 +41,10 @@ export function Markdawn(props: Immutable): JSX.Element { href: string; children: React.ReactNode; }) => { - if (compProps.href.startsWith("/")) { + if ( + compProps.href.startsWith("/") || + compProps.href.startsWith("#") + ) { return ( router.push(compProps.href)}> {compProps.children}