In a comment, Steve asks how I format code in my blog. Here's the answer:
I also have a predefined style called “code” that I use when there’s a bit of code in the middle of a sentence. There’s a typesetting style where langue étrangère should be italicized. I’m doing the same thing by putting keywords & indentifiers in fixed width, I guess.