Send preformatted text in Skype
Sometimes I send pieces of code using Skype. Very often the text is messed up with smileys, and some brackets show up doubled.
Can I somehow send text that will not be transformed? Something like <pre>
in HTML.
EDIT ( 19 march 2015 ): In Win 8.1 Skype version 7.2.59.103 (for desktop) both nesono's answer and Nishanth C's answer are working.
Solution 1:
In fact you can keep Skype from parsing the snippet for smileys. Just use two exclamation marks as the first line (rest empty) and paste your snippet afterwards.
Example:
!!
call_function(0);
:)
(smoke)
Apart from that, you can use decorations to post *bold*
, _italic_
or ~strikethrough~
text.
Solution 2:
New skype has a feature to add code. Try this
{code}
call_function(0);
:)
(smoke)
{code}
Solution 3:
Markdown-like syntax also works. For example:
```
var s = "Block highlighting";
alert(s);
```
Solution 4:
To get around this kind of problem in other chat systems, people often post the code fragment on a web-based snippet site like pastebin.com and then just send a link to the code via chat.