Click to See Complete Forum and Search --> : More Script Tags
TJ111
10-29-2007, 09:45 AM
I have an account over at thescripts.com, a forum similar to this. I rarely use it because it has a terrible interface compared to this site, but there is one thing I like about it. It has color coding for lots of different languages compared to this site. You should look into adding that functionality here. You can do things like (w/o the escapes):
[\code=javascript] [\code=php] [\code=css] and it will give you syntax highlighting. Just a nice little feature that I think would be great to have here.
Yep, we have that here (http://www.webdeveloper.com/forum/misc.php?do=bbcode) also. It's just that many forums users either refuse to do it or don't know how to do it.
TJ111
10-29-2007, 10:22 AM
No I understand the [\code] and [\php] tags, etc, I'm just saying add functionality for more languages. Like at that site they have support for javascript, css, c/c++, perl and lots more. I think it'd be great to have syntax highlighting for more languages, I always have to use [\php] for javascript.
NogDog
10-31-2007, 03:54 AM
http://www.webdeveloper.com/forum/misc.php?do=bbcode#colorcode
PS: It doesn't seem to do any coloring, though, and adds extra empty lines, so I'd just ignore this post. :)
function test($param)
{
printf("This is a test: %s", $param);
return(true);
}
TJ111
10-31-2007, 08:59 AM
Here's an example (http://www.thescripts.com/forum/post2910407-3.html) I found just looking in the forums.
Yep, we use something like that over at WebReference.com (http://www.webreference.com/programming/javascript/w_b/index.html)