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

Possible Duplicate:
How do comments work?
Stack Overflow comments don’t have formatting tags or line breaks?

I've been struggling for some time with adding line breaks to comments on SO. I tried adding a double line break in the comment editor, as one would do in a question, but that didn't work. After reading the comment help, I tried adding two spaces after each line; still, to no avail. Am I doing something wrong here?

I'm including a comment with an attempted line break.

share|improve this question

marked as duplicate by Bart, Arjan, Nick Craver Jan 27 '13 at 22:08

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.

    
Here's one line Here's another –  Jules Mazur Jan 27 '13 at 21:46
    
    
Previously, it was possible to insert linebreaks in comment editor, but they don't appear as such after submitting. Related: meta.stackexchange.com/questions/63644/… Right now, you've to use shift+enter for that (to separate your thoughts and so on). –  BalusC Jan 27 '13 at 22:00
    
I already use Shift+Return to add a line break in the comment editor, but it disappears without a trace when the comment is published. –  Jules Mazur Jan 27 '13 at 22:18
    
"but it disappears without a trace when the comment is published." That is a good thing. Trust me on this. On a few sites there is a way to force the matter and it is hellishly distracting. Comments are supposed to be wimpy little things without much expressiveness. –  dmckee Jan 27 '13 at 23:45
add comment

1 Answer 1

You can't add line breaks in comments, stop trying.

After reading the comment help, I tried adding two spaces after each line; still, to no avail

There is nothing in the comments help saying it's possible.

Comment formatting

Comments support only bold, italic, code and links; in addition, a few shorthand links are available.

share|improve this answer
    
This page begs to differ. Not to mention, I see comments around SO with line breaks all the time. –  Jules Mazur Jan 27 '13 at 22:17
    
@JulesMazur, that page is for Q&A, not for comments, as they have a limited markup available. Regarding the examples, show me one...! –  user209407 Jan 27 '13 at 22:18
    
I've looked through some questions, and I'm no longer able to find any examples. But then, why write that a line break can be added by using two whitespaces on the page I liked to? –  Jules Mazur Jan 27 '13 at 22:23
1  
@JulesMazur, Are you just asking? read the answers you get! –  user209407 Jan 27 '13 at 22:28
    
@JulesMazur - it does add a line-break, in a post. Line breaks don't work in comments, never have...they could get obnoxiously, vertically tall if we did allow it. It's been discussed here on meta many times, and every time overwhelmingly shot down. –  Nick Craver Jan 27 '13 at 22:29
    
@NickCraver, Actually I think it was supported once, wasn't it? you could add markup to comments, or am I wrong? –  user209407 Jan 27 '13 at 22:30
    
Alright, thanks for the clarifications. –  Jules Mazur Jan 27 '13 at 22:31
1  
@gdoron - AFAIK it was never supported, that's not to say it wasn't possible at one point –  Nick Craver Jan 27 '13 at 22:32
add comment

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