I recently came up with the idea of using French-style quotation marks to surround replaceable parts in code samples, e.g.:
$ cat «filename»
Another example is my answer here.
I love this! Because no one ever uses « » for anything else, and because it works even in preformatted text that doesn’t support bold or italics.
On a Mac, type Option-\ to get the open-quote character and Shift-Option-\ to get the close-quote character.