Short little test to see if the highlighting is working.
class TheClass def somefunc "Hola!" end end
The only thing I don't like is that it pulls the javascript files directly from the SyntaxHighlighter's web site, which seems kind of rude. I'll probably move the files to an already existing virtual server. That way it's using my bandwidth, not the SyntaxHighlighter author's.
Update: I just did a little bit of digging into where the SyntaxHighlighter web site lives, and it appears to be hosted at DreamHost.
Knowing DreamHost (I have an account with them, too), he is probably allotted more bandwidth than he can use, so now I don't feel the need to self-host the javascript files is quite as important. I should still do so, but most browsers will cache the files locally, anyhow, and my blog is going to have, essentially, zero traffic, so I think it's ok for now.
No comments:
Post a Comment