25 Nov, 2009, kiasyn wrote in the 1st comment:
Votes: 0
Are now available with the code tag.

It works like a quote, only you quote the language, eg:
[code=ruby]puts "Hello World!"[/code ]


# The Greeter class
class Greeter
def initialize(name)
@name = name.capitalize
end

def salute
puts "Hello #{@name}!"
end
end

# Create a new object
g = Greeter.new("world")

# Output "Hello World!"
g.salute
25 Nov, 2009, Mudder wrote in the 2nd comment:
Votes: 0
Really cool!

Is there any way to have the background remain in white? The contrast was nice.
25 Nov, 2009, quixadhal wrote in the 3rd comment:
Votes: 0
Pretty! :)
25 Nov, 2009, Tyche wrote in the 4th comment:
Votes: 0
25 Nov, 2009, Runter wrote in the 5th comment:
Votes: 0
I like this change. Glad I suggested it. ;)
26 Nov, 2009, quixadhal wrote in the 6th comment:
Votes: 0
One additional suggestion…. add the language type right after the Code: and before the actual start of the block. That way it's easy tell if something is in C, C++, C#, LPC, tcsh, etc… :)
26 Nov, 2009, kiasyn wrote in the 7th comment:
Votes: 0
quixadhal said:
One additional suggestion…. add the language type right after the Code: and before the actual start of the block. That way it's easy tell if something is in C, C++, C#, LPC, tcsh, etc… :)


You mean like this?
public int[][] product ( n, m )
{ int [][] ans = new int[n][m];
for ( int i = 0; i < n; i++ ) {
for ( int j = 0; i < m; j++ ) {
ans[i][j] = i * j; }
} return ans;
}
26 Nov, 2009, Mudder wrote in the 8th comment:
Votes: 0
Awesome. Love the new background color.
29 Nov, 2009, Zeno wrote in the 9th comment:
Votes: 0
The black text on dark background is not really readable, think that could be fixed?
0.0/9