Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
1  
You could disable smileys and suggest your recipient do the same. It's not as nice as what you're asking for though. – Kyle Smith May 18 '11 at 14:48
    
+1 I always like the workarounds ;) – Bakudan May 25 '11 at 19:09
up vote 23 down vote accepted

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.

share|improve this answer
    
Skype for Windows (6.20.64.104) support that – KindDragon Sep 25 '14 at 13:58
1  
You can also append "!! " before the text to leave the text raw. I don't like the extra line made from !! – Andrew Wong Nov 1 '14 at 3:51
    
You don't have to make a new line after !!, a blank space suffices. E.g.: !! function foo() {}; Will output "function foo() {};", without the exclamation marks and the space. No new line. (Skype for OS X, 7.14 301) – EriF89 Nov 24 '15 at 14:09

New skype has a feature to add code. Try this

{code}
call_function(0);
:)
(smoke)
{code}
share|improve this answer
4  
Could you please qualify new with a concrete version number? – O. R. Mapper Dec 7 '14 at 12:41
    
It works here. Skype 7.1.0.105 – Francisco R Mar 3 '15 at 16:46
    
This do not work with web skype at this time – Carlo Pires Feb 5 at 18:39

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.

share|improve this answer
3  
I know, like pastie.org, jsfiddle.net, codetidy.com, tinypaste.com, codepad.org, pastesite.com. This is not the point of the question. – Bakudan May 10 '11 at 5:04
    
Sorry, based on question "Can I somehow send text that will not be transformed?" I thought you were looking for a workaround. – rakslice Feb 27 at 0:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.