Open PDF/Word files inside a repository #19370
Replies: 4 comments 2 replies
-
Step1: Make the static website/repository using your Github username for example, if the username is abcxyz then repository would abcxyz .github.io Step2: Put the desired pdf in that repository and add an index.html file in the same location as the pdf file eg: resume.pdf. Step3: Open the index.html and add the embed tag to it below: <embed src="https://yourusername.github.io/filename.pdf" width="100%" height="850px"/>Example: So, you can easily to open PDF inside without download it. Try it <embed src="https://you_user_name.github.io/your_file.pdf" type="application/pdf" /> |
Beta Was this translation helpful? Give feedback.
-
In the end, you're still downloading them, just to browser cache, am I right? |
Beta Was this translation helpful? Give feedback.
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Hi JhonnyLusonode, You’re right—being able to open files directly in a repository would save a lot of time. A great solution for this is using Word Online, which lets you view and edit Word documents directly in your browser without downloading them. It also supports PDF viewing and basic editing, making collaboration much smoother and faster. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I belive it would be a great idea to open PDF and WORD files inside the repositories instead of downloading them.
Beta Was this translation helpful? Give feedback.
All reactions