onrails.org home

Upgraded Syntax Highlighting for Scribbish Theme

We were bored of the plain green on black syntax highlighting for our code blocks, not to mention sick of the weird borders around code comments, so I hunted around for a little to find something a little better. The theme we’re using, Scribbish, didn’t have any CSS defined for Typo’s code blocks, so I stole them from James Wilford’s post. Thanks, James.

Maybe we’ll tweak the colors some more later, but these will do for now.

class Scribbish < TypoTheme
include JamesWilfordCSS
end

Fork me on GitHub