Syntax highlighting
# testing
s
ruby Copy code
[1,2,3].do |n|
  puts "this is number #{n}"
end
e
Hey Simon :). We use
highlight.js
for code highlighting. It tries to automatically detect the source language. We don't strip the language after three backticks yet.
Copy code
[1,2,3].do |n|
  puts "this is number #{n}"
end
47 Views