Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hosting PDFs #1665

Closed
Brayden-Zhang opened this issue Dec 21, 2024 · 3 comments
Closed

Hosting PDFs #1665

Brayden-Zhang opened this issue Dec 21, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Brayden-Zhang
Copy link

I'm trying to host and/or embed some PDFs in my website. In my obsidian interface the pdfs show up nice but when I deploy locally, the links to the PDF page show up as 404 not found. Is there a common method to have links to your pdfs show up?
image

@Brayden-Zhang Brayden-Zhang added the bug Something isn't working label Dec 21, 2024
@Brayden-Zhang
Copy link
Author

Additionally, I am having an issue where some image attachments embedded in the page won't load even though they do show up in Obsidian.

@aarnphm
Copy link
Collaborator

aarnphm commented Dec 22, 2024

Did you see the PDF available in the final artifacts of the build?

all of the static file (PDF) should include in the final build directory. For example, for my site this note the PDF is resolved correctly based on this line

@Brayden-Zhang
Copy link
Author

Thanks, I had added something to my ignorePatterns configuration which was hiding non-markdown files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants