[Code] Tags please
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)
& testing what happens if the line is too long to see if it wraps around unlike with pre lalalalalaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
&
&
Problem with using <code> is the forum turns it into <code> 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 <code> 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)
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.