Re: Code Highlights

From: Date: Wed, 17 Dec 2003 18:35:10 +0000
Subject: Re: Code Highlights
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-22610@lists.php.net to get a copy of this message
I was wondering if it might be be possible to remove the code highlighting feature recently added to the manual or at the very least to make it so that it can be turned off from the My PHP settings? Personally I find code highlighting to be quite distracting and thus quite irritating. I use this website every day, and would be more than happy to do any of the work required to add this feature to My PHP.
It might be possible to add some code to My PHP.net to let users disable the highlighting but I doubt more then one percent of our users would use that feature. Most of the IDEs and editors around the globe cater for user needs to add syntax highlighting to their interface and many other convinience features... You can disable this feature manually in most of the browsers, by creating a user style sheet, and adding the styles from our site.css file with black colors: div.phpcode span.html, div.phpcode span.comment, div.phpcode span.default, div.phpcode span.keyword, div.phpcode span.string { color: black; background-color: transparent; } This will disable the highliting for both the examples and user notes. Goba

« previous php.mirrors (#22610) next »