The fun starts after you login! Not a member yet? Join now!
Extras
* Added 1 year, 11 months ago by lethal - permalink

Code Highlighting

DeathCat now supports code highlighting in several languages! All you have to do to get your code highlighted is indent it four spaces. If you want to steer toward a certain syntax, like java for example, make the first line either #!java or :::java. The difference is that the first will have line numbers.

With line numbers:

1
2
3
#!/usr/bin/env python

print 'Hello from python!'

Without line numbers:

#!/usr/bin/env ruby

puts 'Hello from ruby!'

More examples

You will have to login before you can respond to lethal.