This is something that i have noted sometime ago but i never talked about it but it would be a good idea to color the syntax in CODE tag, and it's something that can be easily made, how about it jordan?
Cc suggestion
Started by outsid3r, Jul 25 2009 01:10 AM
20 replies to this topic
#1
Posted 25 July 2009 - 01:10 AM
|
|
|
#2
Guest_Jordan_*
Posted 25 July 2009 - 07:06 AM
Guest_Jordan_*
You mean like GeShI Highlighting?
[highlight=c]// This is a C++ Comment
int main() {
int somVar;
}[/highlight]
:)
Use [noparse][highlight=<lang>]// code[/highlight][/noparse] Replace <lang> with your language.
[highlight=c]// This is a C++ Comment
int main() {
int somVar;
}[/highlight]
:)
Use [noparse][highlight=<lang>]// code[/highlight][/noparse] Replace <lang> with your language.
#3
Posted 25 July 2009 - 07:32 AM
How about implementing the PEAR Text_Highlighter so we can have line numbers, but people can actually copy/paste the code.
#4
Posted 25 July 2009 - 07:43 AM
Testing...
[highlight=c]
int main(){
printf("Hello codecall!\n");
return 0;
}
[/highlight]
EDIT:
That's great!! sorry jordan, obviously i didn't knew that codecall had this feature!
[highlight=c]
int main(){
printf("Hello codecall!\n");
return 0;
}
[/highlight]
EDIT:
That's great!! sorry jordan, obviously i didn't knew that codecall had this feature!
#5
Guest_Jordan_*
Posted 25 July 2009 - 10:15 AM
Guest_Jordan_*
That is ok. Most people aren't aware of it. We use to have buttons on the textarea for it but now we do not so people never know it is there.
Posted via CodeCall Mobile
Posted via CodeCall Mobile
#6
Posted 25 July 2009 - 12:17 PM
Yea, i see. Anyway, your new avatar is cool :D
#7
Guest_Jordan_*
Posted 25 July 2009 - 01:02 PM
Guest_Jordan_*
Thanks, I created it here: FACE YOUR MANGA | Shake yourself!
#8
Posted 25 July 2009 - 01:40 PM
Thanks jordan, i have just created mine, this is great! it really looks like me :D
#9
Guest_Jordan_*
Posted 25 July 2009 - 02:00 PM
Guest_Jordan_*
I see it! Looks great! Nice work. :)
#10
Posted 11 August 2009 - 08:23 AM
Only one thing with the Geshi or whatever that is... the numbers SUCK! You have to either quote the post to copy and paste.. or remove the numbers one by one.
#11
Posted 13 August 2009 - 06:23 PM
TcM said:
Only one thing with the Geshi or whatever that is... the numbers SUCK! You have to either quote the post to copy and paste.. or remove the numbers one by one.
PEAR Text_Highlighter doesn't have this problem.
#12
Guest_Jaan_*
Posted 14 August 2009 - 12:40 AM
Guest_Jaan_*
John said:
How about implementing the PEAR Text_Highlighter so we can have line numbers, but people can actually copy/paste the code.
I don't think adding line numbers is good idea.. When people copy and paste codes then they will get those lines with the code and it's VERY annoying to delete them every time.
@edit: I just said the same thing that TcM said xP


Sign In
Create Account


Back to top









