![]() |
Do NOT use CODE tag for posting source code
Do NOT use CODE tag for posting source code
Code:
// THIS PIECE OF CODE MAKES NO SENSE: PHP Code:
|
Re: Do NOT use CODE tag for posting source code
w00t, neat stuff indeed !
I wonder if I could not hack the PHP scripts to have colors inside [ code ] tags as well... |
Re: Do NOT use CODE tag for posting source code
ROFL,yeah, and when you're on it, make the colors more msvc like :) :D
|
Re: Do NOT use CODE tag for posting source code
nice!
|
Re: Do NOT use CODE tag for posting source code
highlight_string() is the php function your looking for.
|
Re: Do NOT use CODE tag for posting source code
Some people (like me) think the colored text is HARDER (not easier) to read.
botman |
Re: Do NOT use CODE tag for posting source code
even with neat colors, ladies ?
Code:
// hello, I'm a comment |
Re: Do NOT use CODE tag for posting source code
and now with the punctuation blue color removed...
Code:
// hello, I'm a comment |
Re: Do NOT use CODE tag for posting source code
lets see if it works
Code:
#include <stdio.h> http://neuron.tuke.sk/~wagner/code.gif |
Re: Do NOT use CODE tag for posting source code
And there is a big bug IMO in code tag, when you copy it (select with mouse and CTRL-C) and then you paste it somewhere (MSVC or Far manager) no 'enters' are copied. No '\n' char, no 0D or 0D 0A chars o_O
Example : http://neuron.tuke.sk/~wagner/enter.gif |
All times are GMT +2. The time now is 11:45. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.