Skip to content

Commit 966f228

Browse files
Merge pull request #79 from garlicbreadcleric/raw-link-href
Add href to <a> that RawLink returns
2 parents 4dbd599 + da874cf commit 966f228

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ui/markdown.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export function RawLink({ link, sourcePath: maybeSourcePath }: { link: Link | st
7575
rel="noopener"
7676
data-tooltip-position="top"
7777
data-href={parsed.obsidianLink()}
78+
href={parsed.obsidianLink()}
7879
>
7980
{parsed.displayOrDefault()}
8081
</a>

0 commit comments

Comments
 (0)