Code Monkey home page Code Monkey logo

gitprint.com's Introduction

gitprint.com

Ever found that printing README's or Markdown files from Github.com is a pain in the ass? Me too.

The trick:

Simply view any markdown file on Github, then in your URL bar replace the github.com part of the URL with gitprint.com. Your markdown file will be rendered to a beautiful, printable PDF.

Where to find it:

gitprint.com

Suggestions?

Add a GitHub issue!

Build Status

gitprint.com's People

Contributors

adamburmister avatar haroenv avatar mause avatar roryokane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gitprint.com's Issues

How does this work?

I'd love to use this functionality outside of the web app. Is there a Ruby gem or NPM module that makes this easy?

add gitlab.com support

Since gitlab opened gitlab.com to a github alternative, it might be interesting for some users (e.g. me) to have similar functionality but adapted to gitlab.com. A simple bookmarklet should work ;)

Double Header on Markdown tables

Maybe this has to do with the page break, but I've noticed a strange bug where the headers are repeating on the following table markdown:

| Tables   |      Are      |  Cool |
|----------|:-------------:|------:|
| col 1 is |  left-aligned | $1600 |
| col 2 is |    centered   |   $12 |
| col 3 is | right-aligned |    $1 |

0f64d

Let me know if you'd like me to create more test cases, no rush.

support for <kbd> tag

Right now it's just the same as ``, which is better than no detection, but adding a simple border around it to show it's a key would be nice.

Can firefox use this?

Hi, is this support firefox?

When I click the bookmark: it shows javascript:void....

And have no response.

Force regeneration of page?

I went to print a .md file on GitPrint and it worked fine. I found out that there was a typo in the page, so I fixed that/committed it to GitHub, and I went to print the page again. I can't get GitPrint to regenerate the PDF; it's still using the cached typo version. What can I do about this?

large files result in timeout or zero length pdf

Tried to gitprint https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md and got a timeout after a couple of seconds. Retrying resulted in gitprint__-isocpp-CppCoreGuidelines-blob-master-CppCoreGuidelines.md.pdf with zero length.

Upload markdown files

I would love to be able to upload or paste my own markdown files with this. I like using markdown to create documents, but thus far the only thing that has bugged me is creating a printable PDF from a markdown file.

Generating a table of content

What about generating a table of content and a table of figures ? This would be very useful to generate complete reports written in Markdown !

This feature could be optional. (ref #19)

Options (suggestion)

Adding ?options (or something) to the end of the URL should present a page with options before creating the PDF.

Offer a bookmarklet

Yes, I know replacing a few letters in the URL is incredibly easy, but why not make it 1-click? : )

A bookmarklet would be a nice feature to offer:

Here's the code:
javascript:window.open(document.URL.replace("github.com","gitprint.com"),"_blank");

(Love this tool, btw!)

Feature Request: Force Page Break

I think It would be nice to have a way to force a page break, but I am unable to find a way to do it with gitprint... I have found some information about how some programs have commands like **** for forcing a page break, so something similar I think would be useful.

Links in pages aren't links in the PDF

Links are split out into a separate bit of text. The default should be to have the link text as an actual link. There could be an option for how to handle links:

  1. So it looks exactly the same as the GitHub page - a blue link with the URL not visible. (default)
  2. Split it out to separate text (current)
  3. Add a footnote (might be problematic, but it's an idea).

Code snippets for Swift not rendered correctly

Experiencing issues for the following file Issues.md. I expect to see the following for the snippet:

let myArray: NSArray = ["foo", "bar", "baz"].bridge()

but instead see:

let%20myArray%3A%20NSArray%20%3D%20%5B%22foo%22%2C%20%22bar%22%2C%20%22baz%22%5D.bridge%28%29

Cant render pdf page on private repo.

I have a private repo, with a readme file, does gitprint support private repo READMEs?

Is there any way to print out the wiki pages as well?

Tenks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.