It does not matter whether it is proper style of English -- programming manuals, style books, and similar works jumping back and forth between text and metatext use all kinds of techniques to keep those clearly separate that you will not find elsewhere.