Page 1 of 1

The [cobra] tag

PostPosted: Thu Feb 07, 2008 1:16 am
by Charles
There is a BBCode tag on these forums called "cobra". You should surround your source code with it like so:
class X
def main is shared
print 'hi'

Note that BBCode tags use square brackets instead of angle brackets.

Below is the same code with tabs. Feel free to use either.
class X
def main is shared
print 'hi'

Someday the \[cobra] tag will perform syntax highlighting and use a tab width of 4. So be sure to use it.