After the first public display of Pitance, one of the initial
weaknesses that Luke Hatcher mentioned was
the lack of syntax highlighting. I suggested this was difficult because
I was unaware of any Erlang-based1 lexer & formatting packages, making
it rather hard.
Luke, on the other hand, suggested it was rather easy.
With that exchange in mind, I took a look at SyntaxHighlighter,
well, but was missing an Erlang lexer (well, lexer used in a very loose
sense, since it is really just a collection of regular expressions).
I found an already made Erlang brush (SyntaxHighlighter term for lexer)
courtesy of Steve Gilham, but had some trouble getting it
working (perhaps his was based on SyntaxHighlighter version 1? Perhaps
it was because he was operating in a different namespace?
Perhaps I copied and pasted it incorrectly?), so rolled my own version.