[Code] Tags please

[Code] Tags please

in Suggestions

Posted by: Oroibahazopi.9074

Oroibahazopi.9074

Annoying forum formatting is annoying.

Thanks!

[Code] Tags please

in Suggestions

Posted by: zeeZ.5713

zeeZ.5713

The code tags listed on Wikipedia seem to be supported, don’t do any fancy language specific coloring though.

# """ THE SPINNY THING """
from time import sleep
thingy = [ '|', '/', '-', '\\' ]
i = 0
while True:
    i = ( i + 1 ) % 4
    print thingy[ i ], '\r',
    sleep(0.25)

Or you could use regular html <code> tags I guess

(edited by zeeZ.5713)

[Code] Tags please

in Suggestions

Posted by: Oroibahazopi.9074

Oroibahazopi.9074

&amp; testing what happens if the line is too long to see if it wraps around unlike with pre lalalalalaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

&amp;

&

Problem with using <code> is the forum turns it into &lt;code&gt; after the first time it's submitted. 
bc. has the same effect as [pre], but it also messes with the wrap around making it look ugly and &lt;code&gt; gets eaten by the forum escaping special characters. 

Just need a nice BBCode that isn’t ugly and doesn’t get broken by the forum.

(edited by Oroibahazopi.9074)

[Code] Tags please

in Suggestions

Posted by: Oroibahazopi.9074

Oroibahazopi.9074

Honestly I’m surprised any of the above works at all. Usually have raw html and suchlike blocked by default in the forums I use.