Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a good and fast way of printing (on paper) code's syntax highlight?

I'm going to a farm. I think there are no computers there, and my laptop is broken. I want to print out the code of some of my projects on A4 paper so I can review it while I'm there. It would be nice if it was printed with syntax highlighting.

Editors: Vim, Notepad++

Code: Html, CSS, Javascript

like image 826
alexchenco Avatar asked Feb 06 '10 15:02

alexchenco


People also ask

Is syntax highlighting good?

Syntax highlighting is one strategy to improve the readability and context of the text; especially for code that spans several pages. The reader can easily ignore large sections of comments or code, depending on what they are looking for. Syntax highlighting also helps programmers find errors in their program.


1 Answers

enscript

pygmentize

like image 104
Ignacio Vazquez-Abrams Avatar answered Sep 30 '22 12:09

Ignacio Vazquez-Abrams