Results 1 to 4 of 4

Thread: [SOLVED] Code tags in posts

  1. #1
    Join Date
    May 2008
    Location
    Guess !
    Beans
    511
    Distro
    Ubuntu Development Release

    Unhappy [SOLVED] Code tags in posts

    Hi All

    I think a simple one, but i cannot get it.

    How do i use code tags in posts ??

    I have used the hash button in the message menu but all i get is the word code in brackets.

    Thanks for any reply

    Clive l
    There's Gnome place like ~/

    Sony Vaio All in One Ubuntu 13.04
    Acer Aspire 5315 Ubuntu 13.04 Toshiba NB200 Ubuntu Gnome 12.10

  2. #2
    Join Date
    May 2008
    Location
    UK
    Beans
    1,423
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Code tags in posts

    That is what the Code tags are - The words CODE and /CODE enclosed in Square Brackets.

    You enclose your code sample in between the Closing bracket of the CODE tag and the opening brack of the /CODE tag.

    Code:
    Like this.
    Tony - Happy to try to help.
    Unless otherwise stated - all code posted by me is untested. Remember to Mark the Thread as Solved.
    Ubuntu user number # 24044 Projects : TimeWarp - on the fly Backups

  3. #3
    Join Date
    Apr 2007
    Location
    /usr/lib/locale/en_GB.utf
    Beans
    45
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Code tags in posts

    Or highlight the text with your mouse and press the hash/pound button in the toolbar above.

    Code:
    sudo nano /etc/passwd

  4. #4
    Join Date
    Apr 2006
    Location
    No Comment
    Beans
    1,733
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: Code tags in posts

    may i suggest the extension bbcode for firefox - that way u type out ur text - select it - right-click and and select code and ur all done.

    it also makes it easier to change the colors, etc... of the text.
    My Stuff:
    Hostfile Blacklist
    K/Ubuntu 7.10 Tips/Tricks
    3_days_+_no_reply=Subscription_Removed

Bookmarks

Posting Permissions

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