# PDF export: Make links within same document functional

**URL:** <https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384>\
**Category:** Feature requests\
**Tags:** pdf-viewer, valuable\
**Created:** [April 12, 2021, 10:26am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384 "2021-04-12T10:26:37Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moonbase59](https://forum.obsidian.md/user_avatar/forum.obsidian.md/moonbase59/32/13648_2.png) [@Moonbase59](https://forum.obsidian.md/u/Moonbase59)\
**Post date:** [April 12, 2021, 10:26am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/1 "2021-04-12T10:26:37Z")

</div>

### Use case or problem

I often generate PDFs from notes for others to read (think instruction manuals) and I use links to headers and blocks inside the same document for easy navigation.

Now _external_ links (Markdown style) work fine in the generated PDF, Obsidian-type links (into the vault) and _internal_ links like `[[#Installation]]` are displayed like links but don’t work.

I understand that links into the vault (i.e., outside the current document) will never work, but links _within the same document_ should!

### Proposed solution

Make internal links (within the same document) work in the PDF. This should be comparatively easy, especially since they usually look like this:

```auto
[[#A heading]]
[[#^3dc8bc|A link to a block]]

```

### Current workaround

None found.

### Related feature request

To make it easier for readers of the PDF, non-working links like `[[Into the Vault]]` should probably have a different color in the PDF (subdued? darker? lighter?), or none at all.

---

<div class="post-metadata">

**Author:** ![Laurent](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/ce7236/32.png) [@Laurent](https://forum.obsidian.md/u/Laurent)\
**Post date:** [July 29, 2021, 7:57am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/2 "2021-07-29T07:57:59Z")

</div>

Fully supporting this feature request !

---

<div class="post-metadata">

**Author:** ![Sportback](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@Sportback](https://forum.obsidian.md/u/Sportback)\
**Post date:** [November 5, 2021, 8:41am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/3 "2021-11-05T08:41:17Z")

</div>

Not for me (v0.12.19)  
They look like to a link, but they not linked, is just a text.  
Thanks,

---

<div class="post-metadata">

**Author:** ![random\_adam](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/r/85e7bf/32.png) [@random\_adam](https://forum.obsidian.md/u/random_adam)\
**Post date:** [July 13, 2022, 10:34pm UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/4 "2022-07-13T22:34:32Z")

</div>

Is anything being done on this? It would make sending things via far better

I’m using 0.14.15 on Linux.

---

<div class="post-metadata">

**Author:** ![Sentiment](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/b38774/32.png) [@Sentiment](https://forum.obsidian.md/u/Sentiment)\
**Post date:** [August 1, 2022, 7:10pm UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/5 "2022-08-01T19:10:20Z")

</div>

Yes, please. Really hoping we get this.

---

<div class="post-metadata">

**Author:** ![Georgios](https://forum.obsidian.md/user_avatar/forum.obsidian.md/georgios/32/21620_2.png) [@Georgios](https://forum.obsidian.md/u/Georgios)\
**Post date:** [October 5, 2021, 12:07am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/6 "2021-10-05T00:07:56Z")

</div>

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/](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

```auto
# 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](http://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

---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [October 5, 2021, 2:13am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/7 "2021-10-05T02:13:16Z")

</div>

Oh, great call!

---

<div class="post-metadata">

**Author:** ![Georgios](https://forum.obsidian.md/user_avatar/forum.obsidian.md/georgios/32/21620_2.png) [@Georgios](https://forum.obsidian.md/u/Georgios)\
**Post date:** [October 14, 2021, 5:09am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/8 "2021-10-14T05:09:28Z")

</div>

Thanks @ryanjamurphy, would that take a long time to implement, or is it something we can expect in the next release?

---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [October 16, 2021, 12:48pm UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/9 "2021-10-16T12:48:10Z")

</div>

Hard to say, sorry. Depends on many factors, such as the popularity of the request, the ease of development, whether the devs are fixing/improving related issues…

---

<div class="post-metadata">

**Author:** ![Sentiment](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/b38774/32.png) [@Sentiment](https://forum.obsidian.md/u/Sentiment)\
**Post date:** [June 27, 2022, 3:19am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/10 "2022-06-27T03:19:15Z")

</div>

Yes, please.

---

<div class="post-metadata">

**Author:** ![leeroy](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/eb9ed0/32.png) [@leeroy](https://forum.obsidian.md/u/leeroy)\
**Post date:** [July 27, 2022, 11:55am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/11 "2022-07-27T11:55:31Z")

</div>

Popularity of request +1

---

<div class="post-metadata">

**Author:** ![echoreflection](https://forum.obsidian.md/user_avatar/forum.obsidian.md/echoreflection/32/19211_2.png) [@echoreflection](https://forum.obsidian.md/u/echoreflection)\
**Post date:** [July 27, 2022, 6:30pm UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/12 "2022-07-27T18:30:21Z")

</div>

awesome idea but (based on my very limited programming knowledge) seems like it would be very hard to do. IDK though, if it _wouldn’t_ be that hard to do, definitely would be amazing.

---

<div class="post-metadata">

**Author:** ![Blubloos](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/b/6f9a4e/32.png) [@Blubloos](https://forum.obsidian.md/u/Blubloos)\
**Post date:** [August 1, 2022, 12:15pm UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/13 "2022-08-01T12:15:57Z")

</div>

I’m not sure that I fully understand this feature request. Is it that if I have a .pdf file within the vault and it contains a wikilink or some other note referencing mechanism, that the reference should be clickable?

Edit: I’ve just tested a regular link in a PDF and it works. I think I might be referring to an entirely different feature request (if it doesn’t exist already), which is to parse all PDF text in the PDF viewer to search for wikilinks and other friends for obsidian graph traversal. This pertains to ANY PDF, not just what I assume to be PDFs generated from a .md

---

<div class="post-metadata">

**Author:** ![cici118](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/c/d78d45/32.png) [@cici118](https://forum.obsidian.md/u/cici118)\
**Post date:** [August 12, 2022, 2:06pm UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/14 "2022-08-12T14:06:38Z")

</div>

What I understand is that it’s being requested for links to other notes to be clickable when exporting .md files to pdf

---

<div class="post-metadata">

**Author:** ![leeroy](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/l/eb9ed0/32.png) [@leeroy](https://forum.obsidian.md/u/leeroy)\
**Post date:** [August 16, 2022, 3:12pm UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/15 "2022-08-16T15:12:28Z")

</div>

No, internal links, links to headings. For example to make a table of contents work.

---

<div class="post-metadata">

**Author:** ![WeMoveOn](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/w/ce7236/32.png) [@WeMoveOn](https://forum.obsidian.md/u/WeMoveOn)\
**Post date:** [October 2, 2022, 12:16am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/16 "2022-10-02T00:16:46Z")

</div>

Agree & Bump

Much needed feature.

---

<div class="post-metadata">

**Author:** ![Blubloos](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/b/6f9a4e/32.png) [@Blubloos](https://forum.obsidian.md/u/Blubloos)\
**Post date:** [October 22, 2022, 11:05am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/17 "2022-10-22T11:05:57Z")

</div>

thanks for the clarification!

---

<div class="post-metadata">

**Author:** ![jesii7](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jesii7/32/31766_2.png) [@jesii7](https://forum.obsidian.md/u/jesii7)\
**Post date:** [December 5, 2022, 5:59pm UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/18 "2022-12-05T17:59:49Z")

</div>

+1 to feature request.  
I can understand that links to other Obsidian Notes don’t work but “internal” links such as Table of Contents, or cross-references are such a basic requirement IMO that they really should be supported. Without this, PDFs for reports/documentation that we create are frustrating: users try clicking on an “obvious” link (color, underline) and nothing happens. Seriously devalues the utility of the document.

---

<div class="post-metadata">

**Author:** ![crimson\_med](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/c/b487fb/32.png) [@crimson\_med](https://forum.obsidian.md/u/crimson_med)\
**Post date:** [January 5, 2023, 3:36am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/19 "2023-01-05T03:36:19Z")

</div>

+1 I’ve been using Obsidian to write documentations and a functional table of content as pdf with workable links would just be so useful.

---

<div class="post-metadata">

**Author:** ![Marc-A](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@Marc-A](https://forum.obsidian.md/u/Marc-A)\
**Post date:** [January 6, 2023, 3:51am UTC](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384/20 "2023-01-06T03:51:17Z")

</div>

Count me in on functional internal links: +1 for OP’s request.

[Next page](https://forum.obsidian.md/t/pdf-export-make-links-within-same-document-functional/16384.md?page=2)
