How to link to pdf files?

I’m trying to create a link to a pdf in my files so that when the link is pressed, it will open the pdf file in a separate window. I thought that this below would work, and while it is creating a successful link titled “Empathy and its Discontents”, it isn’t actually linking to anything in my files:

There was a previous forum post about the same thing, but I think the structure of the text was formatted for Windows users; I am on Mac, so it wouldn’t work for me. Brand new to Obsidian, so any help would be greatly appreciated. Thanks!


Please make sure to select the correct category when creating a new topic.

I think you forgot to paste your code, as there is nothing below.

In HTML, all you have to do this this:

<a href="http://domain.tld/path/to/file.pdf" target="_blank">PDF Link</a>

HTML is the same for all OS’s, not not sure what you mean by Windows/Mac. Also, not sure what Obsidian is (Besides the element and the Minecraft block).


A Google search links to a markdown editor. The app is on Windows and Mac, so maybe that’s what OP meant.


Also, please note that we provide a website hosting service, not a file sharing service. If you just need a place to upload PDF document to link them from your personal knowledge base, InfinityFree (or any other web hosting for that matter) is not the kind of service you need.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.