Results 1 to 4 of 4

Thread: A code tag suggestion

  1. #1
    ChimpFace9000
    Guest

    Post

    the code tags make this...

    Code:
    
    
    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.

  2. #2
    Well, I know it's not what you're talking about, but...

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

    PHP Code:
    <?php

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

    ?>
    Just figured I'd mention it.
    -Mike Sullivan
    [vBulletin Developer]
    vBulletin.Org

  3. #3
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    cool lemme test!

    PHP Code:
    #include <iostream.h>

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

    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  4. #4
    Guest
    Aye? How does that all work?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width