-1

With pushing [ENTER] button a comment is sent to server. How does one make a new line inside comments instead?

migrated from superuser.com Feb 1 at 14:23

This question came from our site for computer enthusiasts and power users.

9

You can't.

Comments don't have the same formatting structure as answers. You can make links using [text](url), you can bold &/or italic using asterisks and use code backticks, but that's about it.

This links to the entirety of the format spec for comments - https://meta.stackoverflow.com/editing-help#comment-formatting

If you want to play with formatting, there's a sandbox on Meta Stack Exchange - Formatting Sandbox

  • Once I did copy/paste from a formatted text that included a line forward symbol already and that text was 2 lines here also. Why? – beyondtime Feb 1 at 13:38
  • if you can find a functioning example, let's have a look. – Tetsujin Feb 1 at 13:52
  • adding 2 spaces (between quotation marks" should work also (from above link)" "<br><br/> this is 2nd line" "<br><br/>3rd line – beyondtime Feb 1 at 13:54
  • 1
    The above link quite clearly states it is not possible.... & as you see, that remains true. The only relevant section was the one I linked to the top of the page, highlighted "Comment Formatting", the rest doesn't apply. – Tetsujin Feb 1 at 13:57
  • Well, you've tried three times & it hasn't worked yet. What more do you need? [Though I notice you've now removed attempt number three] – Tetsujin Feb 1 at 14:07
  • I know i saw 2 short sentences that were flipped to single lines. Maybe there was a special binary character ending on 1st line. Possible? (Tried \0x25 ^M -> no success). – beyondtime Feb 1 at 14:13
  • 1
    Actually, you can paste a multiline text and preserve its newline, or pressing Shift+Enter to add newline, but that doesn't matter since the newlines will collapse when posted (this is a multiline text with newline after commas) /cc @beyondtime – Andrew T. Feb 1 at 17:41
  • 1
    @AndrewT. - sure, you can paste what you like, but it will be stripped. That's the whole point. – Tetsujin Feb 1 at 17:46

You must log in to answer this question.

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