I quite often encoded code snippets sent on Skype with Base64 to avoid formatting until I found out eventually they support markdown syntax for preformatted text. I see it is also supported by Facebook at Work, maybe this would help here? https://www.facebook.com/help/work/541260132750354