I think he means saving the code into a document to copy and paste from in the future, which you should be able to if you turn off whatever formatting is making it not work, if I'm reading this right.
I mean, if I hit ctrl+b in a word document, can I make it so that it just surrounds the text in the tags? (, ) for bolding, obviously, etc. It would make it easier when copying from a document and posting to here or other forums.
Sounds like reverse engineering of some sort. I suppose if it can be done one way it could be done the other way. Right? Fiddle with word until you find the shortcuts and change em up.