What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

This question already has an answer here:

I recently noticed that when there are new-lines in the same chat message, Markdown support fails. For example:



This won't produce the expected output:



It leaves the message as it is with the Markdown text included. Here's proof if needed. Is this , or a ?

share|improve this question

marked as duplicate by syb0rg, animuson Jan 12 at 19:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

So, is this worth fixing? –  Robert Harvey Jan 12 at 18:16
Reproed in the sandbox on meta as well. Markdown doesn't work if a new line is present in the message using <kbd>shift</kbd>+<kbd>enter</kbd> –  rene Jan 12 at 18:17
@RobertHarvey Is it that hard to fix? –  syb0rg Jan 12 at 18:19
Don't know. I'm not an SE developer. :) I'm just wondering how often someone might actually need this. –  Robert Harvey Jan 12 at 18:20
Could be that it is by design because if I hit shift+enter I see on the right of the message box a button 'fixed font' appear. –  rene Jan 12 at 18:20
@rene: No, that just gives you the option to convert to fixed font. Multiple newlines suggests code. –  Robert Harvey Jan 12 at 18:20
@RobertHarvey Hmmm, in that case I'm out of options. I doubt it is a user error. –  rene Jan 12 at 18:23
@hichris123 Hmmm, didn't see that when searching to make sure this wasn't a duplicate. –  syb0rg Jan 12 at 19:06
@syb0rg I assure you I didn't fabricate that question out of thin air just so I could mark it a duplicate. :P –  hichris123 Jan 12 at 19:10
@hichris123 I know. It's just usually people don't do the required research before asking a proper question. I thought I did in this case. Whoops ;) –  syb0rg Jan 12 at 19:11

1 Answer 1

up vote 1 down vote accepted

I think it's by design: that something with newline is interpreted as a source code block.

Having a newline also lets that post avoid the maximum-message-length limit.

share|improve this answer
But it doesn't look like it is formatting it as a code either. –  syb0rg Jan 12 at 18:31
@syb0rg once your message has multiple lines, a "fixed font" button is offered for the desired effect. But I do think the current behavior is confusing. –  amon Jan 12 at 18:39

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