PDF for Github Flavored Markdown

I have a description of the project in PDF format, and I will be very happy if I can somehow preview it on the github website, and not click View Raw and download it.

I thought that there could be a converter from PDF to github, seasoned with markdown, but not found.

To indicate again, my input is a pdf file, and my desired result is to preview the contents of the pdf on the github website without downloading it.

+6
source share
1 answer

March 2015 Update: PDF View

Just go to the PDF document and we will display it in your browser, like any other file .
From presentations to documents , we have covered.
Many thanks to Mozilla and each contributor pdf.js.

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


Original answer (October 2014)

It just isn't supported (yet?) On GitHub.

The best you can do is the greasemonkey extension, which allows you to call a PDF viewer, such as the recent pdf.js (a portable document viewer (PDF) built using HTML5.) That allows you to view a pdf file completely online, without any PDF plugins. See this example in jsbin .

+1
source

Source: https://habr.com/ru/post/955916/


All Articles