Jekyll uses Rouge by default for syntax highlighting, here are some tests.
Ruby:
Python with line numbers:
1
2
3
4
5
def print_hi(name):
print("Hi, {}".format(name))
print_hi('Tom')
# prints 'Hi, Tom' to STDOUT.
C with line numbers:
1
2
3
4
5
void print_hi(string name) {
printf("Hi, %s", name);
}
print_hi("Tom");
/* prints 'Hi, Tom' to STDOUT. */