Added by Abram Connelly about 9 years ago. Updated about 5 years ago.
Related issues
Related to Is duplicate of Has duplicate Blocks Blocked by Precedes Follows Copied to Copied from Issue # Delay: days Cancel
http://pygments.org/docs/cmdline/
for example:
hello.c:
#include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { printf("hello\n"); }
$ pygmentize -O full,style=colorful -f html -o hello.c.html hello.c
There's probably plenty more, like https://github.com/github/linguist.
Preferably something that doesn't fork from passenger. Perhaps coderay, or do it client-side with https://github.com/ioquatix/jquery-syntax?
Client side opens up a lot of possibilities:
Also available in: Atom PDF