Not sure if the eating555 is the author or whether the author is watching this thread... This is awesome.. my only comment is the first thing I went to do was to copy and paste the code blocks and found end of line whitespace and double line breaks were included (presumably for the line numbering etc.) e.g. sudo apt-get update apt-cache search linux-headers-`uname -r`
The issue reported by mrmattyboy was resolved. You can now coy-n-paste from generated PDF and HTML files without annoying line numbers.