View pdf link instead of downloading






















Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to open a pdf file in browser instead of downloading it? Ask Question. Asked 1 year, 4 months ago. Active 1 year, 4 months ago. The Overflow Blog. Introducing Content Health, a new way to keep the knowledge base up-to-date. Podcast what if you could invest in your favorite developer? Featured on Meta. Now live: A fully responsive profile.

Reducing the weight of our footer. Linked 4. Related 0. Posted Jul am enhzflep. Add your solution here. OK Paste as. Treat my content as plain text, not as HTML. Existing Members Sign in to your account. This email is in use. Do you need your password? Submit your solution! When answering a question please: Read the question carefully. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem.

Github uses content-disposition: attachment for PDFs, which downloads the file automatically on github. You can host the file on a static page provided by GitHub which can link to this file and update as you update the PDF. For that, you can see github pages. Jupyter's nbviewer handles the task.

Reference: PDF Viewing. As a simple visitor of a GitHub repository, the following Firefox extension works for me to overwrite the content-disposition: attachment header that GitHub sends according to the main answer. The answer by MuhammadUsman works, but is more complicated than necessary, now that Github pages has a dedicated "Pages" panel in the settings for each repository. Sign up to join this community.

The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Ask Question. However, downloading a PDF is still possible. By default, Google Chrome opens a PDF file in the browser window instead of saving it to the downloads folder.



0コメント

  • 1000 / 1000