PDA

Click to See Complete Forum and Search --> : A code tag suggestion


ChimpFace9000
Jan 29th, 2001, 01:26 PM
the code tags make this...




Notice the word code at the top of the line. How bout in the beggining code tage we can do somthing like...

code title="prog1.cpp"] to change the word code at the top. And if there is not title put, have the word code.

Ed Sullivan
Jan 29th, 2001, 01:42 PM
Well, I know it's not what you're talking about, but...

The tag does syntax highlighting and works quite well for C derived languages (although it is designed for PHP).

[php]<?php

$var = 1;
$var++;
echo "This is what var is now: $var";

?>

Just figured I'd mention it. :)

Jop
Jan 30th, 2001, 09:10 AM
cool lemme test!


#include <iostream.h>

int main()
{
cout << "testing the PHP tag :D"
}

Jan 30th, 2001, 10:34 AM
Aye? How does that all work?