Author Topic: Code in topics and replies  (Read 1195 times)

0 Members and 1 Guest are viewing this topic.

Offline PastelDoe

  • If you find yourself in a lion's den
  • Purple Level
  • *
  • Posts: 4172
  • Cookies: 307
  • I'll jump right in and pull my pin
    • Twitter - PastelDoe
Code in topics and replies
« on: September 04, 2013, 04:17:37 pm »
So I see the "code" button amongst the other text stuff and emoticons, however I'm not sure how to go ahead using it. What code does it take, HTML, HTML5, BB-code or something else? I'd actually really like to know in case I need it in the future.
(By the way I've done a quick search and I haven't found any other thread/post about this, but if there is then feel free to delete this one.)
  • Flag - england
  • Site Donor
  • Pride Flag - transgender
  • Pronouns: She/Her/Hers
:shrimp: ~ I'm happy just being a prawn ~ :shrimp:
Twitter | Steam

Offline lucien

  • i sold my hands for food
  • Purple Level
  • *
  • Posts: 2275
  • Cookies: 204
  • so please feed me.
    • DeviantArt - m0rtuum
    • FurAffinity - spazzeh
    • Twitter - officerkd637
  • Fursona Species: african lion
Re: Code in topics and replies
« Reply #1 on: September 04, 2013, 05:41:25 pm »
FT uses BBCode! uwu
  • Award - Beta Tester
  • Pride Flag - transgender
  • Pride Flag - gay
  • Pronouns: he/him

Offline PastelDoe

  • If you find yourself in a lion's den
  • Purple Level
  • *
  • Posts: 4172
  • Cookies: 307
  • I'll jump right in and pull my pin
    • Twitter - PastelDoe
Re: Code in topics and replies
« Reply #2 on: September 04, 2013, 06:03:45 pm »
FT uses BBCode! uwu
I knew the website uses BBCode but I just wasn't sure whether it was possible to use different code due to the fact that you can enter BBCode without the "code" opening and closing. Thanks for settling that for me! :D
  • Flag - england
  • Site Donor
  • Pride Flag - transgender
  • Pronouns: She/Her/Hers
:shrimp: ~ I'm happy just being a prawn ~ :shrimp:
Twitter | Steam

Offline ★ Panda ★

  • ✧・゚: *✧・゚:*
  • Administrator
  • *
  • Posts: 6874
  • Cookies: 656
    • DeviantArt - cocoapanda
    • FurAffinity - cocoapanda
  • Fursona Species: Platypus
Re: Code in topics and replies
« Reply #3 on: September 04, 2013, 06:17:04 pm »
Yep, we use BBCode...the "code" button actually just tells the forum to not run the code, so you can explain a code to someone or whatever:
Code: [Select]
[font color=red]Like dis[/font]
  • Award - Beta Tester
  • Pride Flag - asexual
  • Pride Flag - aromantic
  • Pronouns: They/them
  • Award - Graphic Artist

Offline PastelDoe

  • If you find yourself in a lion's den
  • Purple Level
  • *
  • Posts: 4172
  • Cookies: 307
  • I'll jump right in and pull my pin
    • Twitter - PastelDoe
Re: Code in topics and replies
« Reply #4 on: September 05, 2013, 02:48:58 am »
Yep, we use BBCode...the "code" button actually just tells the forum to not run the code, so you can explain a code to someone or whatever:
Code: [Select]
[font color=red]Like dis[/font]
Ah thanks!
  • Flag - england
  • Site Donor
  • Pride Flag - transgender
  • Pronouns: She/Her/Hers
:shrimp: ~ I'm happy just being a prawn ~ :shrimp:
Twitter | Steam

Offline Meadow Whisper (Natasha)

  • ᎣᏏᏲ! I'm a horse now! ^.^
  • FT Founder
  • *
  • Posts: 4409
  • Cookies: 403
  • Avatar by Fawn! :D
    • DeviantArt - lupiniastudios
    • FurAffinity - softpaw
    • Twitter - lupinia
    • Weasyl - softpaw
    • Lupinia Studios
  • Fursona Species: Chincoteague Pony
Re: Code in topics and replies
« Reply #5 on: September 05, 2013, 11:49:49 am »
It also allows you to present software code in other languages  :-)

Code: [Select]
from Equestria.ponies import Fluttershy

if Fluttershy.isCute():
     print 'yay'

And if you use it to show PHP code, it displays syntax coloring.

Code: [Select]
<?php
if($pony == True)
{
     print 
'ZOMG PONY!!';
}
?>

  • Award - Beta Tester
  • Site Donor
  • Pride Flag - transgender
  • Pride Flag - gay
  • Pronouns: She/Her/Hers
Here is a horse I have made for you:
        |,\_/,\_
 ,-__/,   ,       )kk
.                     \,kkk
 \    ,___....--     \kkkk
           \               \kkkkk
             \               \kkkkk

Note:  I'm no longer actively involved in running this site, so while I welcome any personal messages, please do not contact me about account issues.  Please direct all such inquiries to Panda.  Thanks for all the years of awesome memories and friendship!  <3

Offline PastelDoe

  • If you find yourself in a lion's den
  • Purple Level
  • *
  • Posts: 4172
  • Cookies: 307
  • I'll jump right in and pull my pin
    • Twitter - PastelDoe
Re: Code in topics and replies
« Reply #6 on: September 05, 2013, 12:17:56 pm »
It also allows you to present software code in other languages  :-)

Code: [Select]
from Equestria.ponies import Fluttershy

if Fluttershy.isCute():
     print 'yay'

And if you use it to show PHP code, it displays syntax coloring.

Code: [Select]
<?php
if($pony == True)
{
     print 
'ZOMG PONY!!';
}
?>

Awesome, thanks!
  • Flag - england
  • Site Donor
  • Pride Flag - transgender
  • Pronouns: She/Her/Hers
:shrimp: ~ I'm happy just being a prawn ~ :shrimp:
Twitter | Steam