Forums

The [cobra] tag

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

The [cobra] tag

Postby Charles » Thu Feb 07, 2008 1:16 am

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.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Return to Discussion

Who is online

Users browsing this forum: No registered users and 25 guests

cron