質問

I have a project description in PDF and I will be quite happy if I can somehow manage to preview it in github website rather than clicking "View Raw" and downloading it.

I thought there could be a converter from pdf to github flavored markdown yet found none.

To state again, my input is a pdf file and my desired output is the preview the contents of the pdf in github website without downloading it.

役に立ちましたか?

解決

Update March 2015: "PDF Viewing"!

Simply browse to a PDF document and we'll render it in your browser like any other file.
From presentations to papers, we've got you covered.
Many thanks to Mozilla and every contributor to PDF.js.

https://cloud.githubusercontent.com/assets/2546/6703741/cbb216c0-ccfc-11e4-9c15-ecb6a33e8ddb.gif


Original answer (October 2014)

This is simply not (yet?) supported in GitHub.

The best you can do is a greasemonkey extension which would allow you to call a pdf viewer, like the recent pdf.js (a Portable Document Format (PDF) viewer that is built with HTML5.), allowing you to view a pdf entirely online, without any pdf plugin installed.
See that example on jsbin.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top