Opening pdf in a browser with Github Page

by Yan Song   Last Updated June 11, 2015 23:01 PM

So I am using Github page to host my website. I have a pdf file that I want visitors to be able to open directly in a browser. But when I upload the pdf file to github page and link to it, it opens in github viwer. Is there anyway to pen the pdf in a browser. I do not want to upload the document to dropbox or google drive as these services are not available in certain countries. Using raw would lead to download. But I would like to have the file open in the browser.



Related Questions






Caching assets in website served from Github pages

Updated August 01, 2018 17:03 PM