adamburmister / gitprint.com

Render Github markdown documents for printing
345 stars 28 forks source link

Can firefox use this? #39

Open digdig opened 9 years ago

digdig commented 9 years ago

Hi, is this support firefox?

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

And have no response.

digdig commented 9 years ago

I mean, can I print the code on github, not just the markdown files.

hallzy commented 8 years ago

This is only for rendering markdown documents... But yes, it works in Firefox (but just for markdown files)

If you really want to use this for code you can copy the code to a markdown file and enclose it with these: ```

For example, have a markdown file with:

#include <iostream>

int main() {
  std::cout << "Hello World\n";

  return 0;
}

and you will get something similar to below. Seems like the easiest way to get colour coded code. Note that a lot of languages are supported with the ```

#include <iostream>

int main() {
  std::cout << "Hello World\n";

  return 0;
}