Top community members
All Wiki Articles Create Wiki Article

Have you ever heard about encyclopedia for code?

What about: Wiki for Code project?

* because I've tried to share code and my solutions on different services and it was removed or I was unwelcomed
   - maybe it wasn't good place, but this one is.

if you think you have solution that can help someone, you are welcome to share this solution - Click here

Github - how to display raw PDF from github repository in web browser instead of download?

0 contributions
6 points

1. Problem description

I have in github repository PDF and I'd like to display it in browser.

Is there a way to do it like with java file, when we display it as raw file it seems to work fine eg:

but when we do it with PDF file we are forced to downlaod it like this:

2. Solution

  1. We can solve this problem with Google Docs viewer
  2. Example
  3. Link from above example:

  4. Screenshot:

google docs viewer - display raw pdf file from github -
Google Docs viewer - display raw pdf file from github
0 contributions

Checkout latest Findings & News:

Checkout latest questions:

Checkout latest wiki articles:

Hey 👋
Would you like to know what we do?
  • Dirask is IT community, where we share coding knowledge and help each other to solve coding problems.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Read more