MLUG: Re: [MLUG] pager with syntax highlighting
Re: [MLUG] pager with syntax highlighting
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Mon, 4 Feb 2008, Mike Miller wrote:

http://www.andre-simon.de/zip/download.html

I've been messing around with highlight and I'm liking it. Two cool things about it: (1) the syntax color definition files are easy to edit and (2) it uses stylesheets for highlighting html, so you can easily edit page colors by editing the stylesheet. Example:


default:
http://epirh1.epi.umn.edu/~mbmiller/bw.html
http://epirh1.epi.umn.edu/~mbmiller/highlight.css

with edited stylesheet:
http://epirh1.epi.umn.edu/~mbmiller/bw_black.html
http://epirh1.epi.umn.edu/~mbmiller/highlight_black.css

So one good way to use the program is to use default colors, but edit stylesheets, then rename and save stylesheets for later uses.


As an example, I ran an httpd.conf file through highlight (it has an apache conf module) and then used the same two stylesheets that I used for the HTML file in the example above:

http://epirh1.epi.umn.edu/~mbmiller/highlight.css
http://epirh1.epi.umn.edu/~mbmiller/highlight_black.css

As you can see, the result is pretty decent.

Mike

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members