diff --git a/@theme/components/SourceLink.tsx b/@theme/components/SourceLink.tsx index 9f4cd5abf1..eaee7eaee8 100644 --- a/@theme/components/SourceLink.tsx +++ b/@theme/components/SourceLink.tsx @@ -15,7 +15,7 @@ function buildSourceHref(path: string, release: string): string { // SourceLink for rendered page link export function sourceLinkForLlms(node: Node): string { const release = process.env.PUBLIC_XRPLD_RELEASE || '' - return `[Source] ${buildSourceHref(node.attributes.path, release)}` + return `[Source](${buildSourceHref(node.attributes.path, release)})` } export default function SourceLink(props: {