PDF export: Make links within same document functional

In response to https://forum.obsidian.md/t/cross-references-in-the-same-note-or-markdown-formatted-links-work-in-obsidian-but-not-in-the-produced-pdf/

When creating cross-references to other sections within the note in the following format, [[NoteName#cross-reference | cross-reference]] it works well in obsidian (I click it in Preview, and takes me to the section), but does not work in the exported PDF (the cross-reference is blue and underlined, but the cursor does not turn into a hand, and clicking on them does nothing). It would be great if it worked in PDFs too.

Moreover, hyperlinks in the following format [google](www.google.com) also don’t work in the PDF.

Website links work well in both obsidian and the PDF (cursor turns into a hand, and clicking on them opens the link in my browser).

E.g. In the following note

# introduction
bla bla bla

# section
Check the [[Untitled#introduction | introduction]] section

visit [google](www.google.com)

www.youtube.com

All three links are clickable in Obsidian preview mode, but only youtube.com is clickable in the PDF. Can we please have cross-references ([[NoteName#cross-reference | cross-reference]]) and markdown-formatted links ([google](www.google.com)) also work in the PDF?

EDIT: Turns out that the [google](www.google.com) links were not working in the PDF because there must be a bug in the Flatpak version of Obsidian. I am running Obsidian 0.12.15 from AUR now, and [google](www.google.com) links work. Cross-references are not working however

9 Likes