diff --git a/src/svgs/internal-link.svg b/src/svgs/internal-link.svg new file mode 100644 index 000000000..336f320ed --- /dev/null +++ b/src/svgs/internal-link.svg @@ -0,0 +1,4 @@ + + + + diff --git a/theme/fetch-ai-docs/mdx-components.tsx b/theme/fetch-ai-docs/mdx-components.tsx index 9a71e7400..538252f20 100644 --- a/theme/fetch-ai-docs/mdx-components.tsx +++ b/theme/fetch-ai-docs/mdx-components.tsx @@ -11,6 +11,8 @@ import { useIntersectionObserver, useSlugs } from "./contexts/active-anchor"; import React from "react"; import Image from "next/image"; import LinkImage from "../../src/svgs/external-link.svg"; +import InternalLinkImage from "../../src/svgs/internal-link.svg"; + import { ModifiedPre } from "components/code"; // Anchor links @@ -193,7 +195,12 @@ export const Link = ({ href = "", className, ...props }: AnchorProps) => { > {splitChildren} - + );