Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

We've come to rename Markdown to Letdown in the C++ chat room because it lets you down so often. I've now just found a pattern.

It seems markdown fails for multi-line messages. That is, this

Letdown can't cope with multi-line comments.
Let's see code?

fails to display code marked as code, while this works

But code works.

Now, I think it would be Ok if you said chat messages shouldn't be multi-line. (Although I'd be a bit annoyed, because I like them.) But if so, please don't render them as multi-line (as is the case with comments), so we aren't tempted to use them.

share|improve this question
@balhpha: What? – sbi Nov 13 '10 at 21:14
Assuming "balhpha" is me -- what what? – balpha Nov 14 '10 at 5:50
@balpha: (Sorry for misspelling your nick.) You changed this from "bug" to "feature-request". I still consider this a bug, though. – sbi Nov 14 '10 at 11:13
@Jeff: This sucks big time, no matter which way I look at this. – sbi Nov 14 '10 at 11:14
@Jeff: I just asked had same question myself… could it be documented in the chat formatting help? – Sidnicious Nov 20 '11 at 19:01
Should there be a userscript that fixes this on StackApps? – RobotHumans Jun 15 '12 at 22:24
@aking: What? How could a userscript "fix" the formatting built into the chat? – sbi Jun 17 '12 at 21:21
If you injected custom javascript in to the browser and parsed the dom to replace this with <i>this</i> for example. I know people that inject custom js or css to modify the behaviour or appearance of many sites. – RobotHumans Jun 17 '12 at 21:52
up vote 3 down vote accepted

It is basically assumed that if you have something that is multi-line, you're either pasting a block of text and submitting it, or you're posting a block of code and the whole thing is going to be fixed-font/code.

Markdown is only processed for single-line messages, unless the entire thing is code.

Chat reference from Marc

share|improve this answer
That would be fine if it was obvious. Coming from SO, questions and answers fully support multi-line and comments don't support it at all. The chat seems to support multi-line messages, but silently fails to apply markdown. That's really the worst combination. – sbi Nov 13 '10 at 17:09
@sbi, Chat use markdown-mini. It has the same limited markdown support that comments have. – Rebecca Chernoff Nov 13 '10 at 17:15
I did get that. Still, the chat does allow multi-line messages, which comments forbid. That's an important difference. It took us days to find out why it keeps failing unexpectedly in the chat. Also, I believe if I put multi-line into comments, while the line breaks get filtered, code stays code. (Yep, it does. This comment uses this.) – sbi Nov 13 '10 at 18:23
@sbi, I'm just passing along what Marc said. |: – Rebecca Chernoff Nov 13 '10 at 18:33
I really appreciate the effort, but it sucks nonetheless. :) – sbi Nov 13 '10 at 19:47
So why not make it so that this 'block text' assumption is only made by chat posts that exceed the line length that a regular chat post should reasonably be (3-4 lines)? – HodofHod Jun 14 '12 at 4:18
So why don't they just fix it? – Lance Roberts Jan 20 '13 at 9:21
This should be fixed. – Kermit Jul 19 '13 at 15:17
Sorry to say it bluntly, but this strikes me as a particularly dumb design decision. It's not even clear what the advantage should be; adding new-lines does not make a message more expensive to process but definitely easier to read. – Raphael Jul 4 '14 at 14:37
This might make sense for Stack Overflow, but it's a nuisance for natural language sites, and other sites where coding is irrelevant. It forces you to split formatted multi-line messages up, which, combined with the site's unnecessarily excessive throttling, makes for a rather frustrating user experience. – snail plane Jul 30 '14 at 4:31
would like this to be not regarded as unfixable aka regarded as fixable. would like to be able to create something like custom oneboxes and multiline formatting would help with that. eg a link, followed by some description, etc, that can be quoted in other chat rooms. but also maybe not in conflict with other uses eg ASCII art or whatever. (but dont quite understand how those come out to monospace right now) – vzn May 21 at 14:52

I found a cool purpose for this, you can make ASCII art on multiple lines that ignores formatting, Here is a nice example,

.*..*.  /),/)   .*..*.  
"-.-"  ( ';' )  "-.-"  
.*..*. c(..c)   .*..*.  
"-.-"    OO     "-.-"

So with this feature, you can make bunnies and unicorns, ignoring formatting options.
Happy chatting!

As requested, a unicorn.


\              M.   .M                                      
 \\         MM   M ~~~.M                                     
   \\\.    MM M        ~~. __                    .~~~~~    
     \\\``` M M         ..MMM                    M       M.  
       M.MMM   M . M         M         ----.   .M         M  
     ~.-   .M  M MM .MM  . MMM    MM.        M.M . M   M  M  
       MM  MM   MM .M .   M M MM              M .M.  M.  M   
               M    .MMM                       M     M  M.   
         0    .MM    MM. ,~~~                  ..   M   M    
             .M M       MM MM                  .M      .M.MM 
         M   M  M         MM                   .M    MM    M 
          \__  .M          M         M         .M.     .MM   
                M.                    .              M       
               MM       M             M              M       
              M  M     M          MMM  MM            M       
             M .M    MM -----.           ----- M  M        
            M M  MM                         M   M   M        
            MM   M                             .M  M         
            MMM  M                         M   M   M         
             M MM MM  .                   M   M    M         
              M M.  MM.0                   M  M   M          
               MMM.  .MM                   M. .M  MM         
                 . . 00                  M  MMM. M         
                                          00 M 00 


share|improve this answer
It's of course important to be able to create unformatted multi-line messages in a programmer's chat. However, that doesn't mean every multi-line message should be unformatted. – sbi Jun 17 '12 at 17:48
True, but since it was status-bydesign, I thought it would be important to highlight a purpose for the un-formated multi-line message. – o̊ǝʇ̲ ɐW⃗ Jun 17 '12 at 17:53
I somewhat doubt that the main incentive for this "feature" was unicorns. :) I think, as Rebecca suggested, pasting code is a bit more likely to be the use case the creators had in mind when they designed this. Unfortunately they forgot the other use cases. – sbi Jun 17 '12 at 21:20
if it really is for formatting code and not performance(it's easier to get performance when if line longer than X, disregard rules) shouldn't there be a toggle button? – RobotHumans Jun 28 '12 at 21:38
Yes, but you "ascii art" can't use bold fonts. If you are playing chess in chat you can't use bold for pointing out last move, for example. – SPArchaeologist May 21 '15 at 8:04

We now support multi-line quotes in chat, but the rest of markdown is still disabled for multi-line messages.

share|improve this answer
This is nice, thanks. Who do we have to bribe to enable the rest? – Xeo Aug 15 '13 at 7:17
@Xeo The rest isn't going to happen. Doing full markdown parsing on long multiline messages can be costly and it opens up the path for trolls to be extra annoying. Chat isn't intended for posting long fully-formatted messages. – Adam Aug 15 '13 at 15:49
Trolls can already be very annoying even without that, and some users would like to format their multiline messages, so as not to be caught by the occasional message that slips in between two of their that should be displayed together. But oh well. – Xeo Aug 15 '13 at 16:07
What types of quotes support multi-line formatting? – o̊ǝʇ̲ ɐW⃗ Jan 13 '14 at 17:26
@Mateo What do you mean? Quotes as in "chat messages that are formatted as quotes in Markdown, starting with >". – Adam Jan 13 '14 at 18:30
so no formatting on multi-line quotes? – o̊ǝʇ̲ ɐW⃗ Jan 13 '14 at 18:37
@Mateo Correct. The only markdown that works on multiline messages is the quote itself. Everything else is still disabled. – Adam Jan 13 '14 at 19:11
@AnnaLear - So, no multiline markdown is a form of automated chat moderation? What's wrong with the existing moderator tools. These just sound like excuses. Is chat really not intended to allow me to post messages like this attempt? Pity. – gilly3 Jan 17 '14 at 20:08
@gilly3 To be honest, chat moderation tools are a bit lacking. I'd like to improve them at some point, but to be further honest... in the three or so years that I've been using chat, I haven't found lack of multiline markdown to be a major hindrance outside of being able to quote stuff which is now possible. – Adam Jan 17 '14 at 20:18
@AnnaLear So I can't post pretty links in a new-line message but screen-filling unicorns are okay? This seems to be a non-solution for a non-problem. If you want to prevent screen-filling messages, just restrict the number of lines. Disabling Markdown does not do anything. – Raphael Jul 4 '14 at 14:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .