Topic: Syntax highlighting now available for Ruby and other languages
Try it out:
class Post < ActiveRecord::Base
validates_uniqueness_of :titledef validate
#a comment
end
end
The syntax is [ code=ruby ] [ /code ] (without the spaces).
The same bbcode syntax works for other languages, like YAML, PHP, CSS, XML, etc. Try some out and see what works/doesn't work ![]()