Edit: Contact any of our moderators
for issues related to these rules.
We have turned off HTML formatting, and restored BBCode formatting. So the days of ugly formatting should be behind us. Probably will still have people forgetting to format, but we'll just have to helpfully and courteously encourage the use of code formatting.
So, code formatting now works the way it used to. If you are unfamiliar with BBCode, the tags look like this (without the spaces):
[ code ] // Some code [ / code ]
After removing the spaces, you should wind up with:
// Some code
If you don't like typing these in manually, good news! There is a button you can hit. Look to the top left of your editing area. You see the B
nderline, and S
trikethrough buttons? Good. Right next to them is a C button. C for code. Get it? We're exploring the possibility of making it say "CODE", but for now it is just C.
Highlight your ugly, hard-to-read code:
for (Minion *minion in self.lair)
...hit the C button...
for (Minion *minion in lair)
Aaaaaahhhh, so nice and readable. And hey, as long as you're here, go the extra mile to REALLY make your code look nice: Fix your indenting. Remove comments. Remove methods that don't apply to your immediate problem. You can always preview your post before you make it to verify that it looks nice.
We actually have 2 categories of legacy posts (this only matters if you need to edit an older post): 1) Posts from the vBulletin version of this forum, 2) Posts in Vanilla up until tonight. Items in category #1 should be exactly the same. They were BBCode before, they remained BBCode all of this time, and they are still BBCode today. So what I typed above applies just fine.
Category #2 is a little different. These posts will remain formatted with HTML, and they cannot be converted. Editing for these posts will continue to be in HTML. I will link the previous version
of this post so that you can read how to to do the code formatting in an HTML post.
How do you know the difference? Look to the bottom left of the editing area. I currently see "You can use BBCode in your post". So I cannot use HTML. If you see "You can use Simple Html in your post" instead, that means what I typed above doesn't apply, go read the old post
to figure out what to do.
New posts should be BBCode, so this should only be a concern for older posts.