mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-07-23 23:20:17 +00:00
Update @theme/components/SourceLink.tsx
Co-authored-by: Maria Shodunke <maria-robobug@users.noreply.github.com>
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user