This script is not yet stable. Please report bugs and suggestions!
--=--=--=--=--=--=--=--=--=--=--=--
Download:
http://dttvb.yi.org/js-php-hi.plsc
Example:
--=--=--=--=--=--=--=--=--=--=--=--
This script will highlight JavaScript and PHP syntax.
Features:
- Uhhh...
- Highlight strings, comments, and inline regexp. Does not use regular expression, so it should handle strings more correctly.[/font]
- Highlight numbers.
- Highlight keywords.
- Highlight members. It highlights thing that follows '.', '::', or '->'. It also highlight something before ':', but not '::'.
- Highlight functions. Something before '('.
- Highlight parentheses. ( ) { } [ ].
- Highlight PHP variables. Something after $.
--=--=--=--=--=--=--=--=--=--=--=--
How to use...
Use the /code command.
/code <a code to highlight>
--=--=--=--=--=--=--=--=--=--=--=--
If you don't like the colors, you can change them by editing the script. Near the line #21.
I still use the old formatting way because some of my friends prefer not to use WLM. But it could be easily changed!
the DtTvB
.