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.

I have been reviewing the Stack Overflow format reference and it doesn't seem to apply to the comments... Is that correct?

share|improve this question

migrated from stackoverflow.com May 19 '10 at 9:44

This question came from our site for professional and enthusiast programmers.

    
If your question is about this website, ask it on meta instead meta.stackoverflow.com . –  Salil May 19 '10 at 9:41
    
    
possible duplicate of What markdown is allowed in comments? –  perbert May 19 '10 at 14:00
add comment

3 Answers 3

up vote 7 down vote accepted

Comments have no line breaks and generally no block-level formatting (such as extended blocks of code).

You can, however, use some of the same formatting that applies to normal posts:

  • Italics *Italics* Also _Also_
  • Bold **Bold** Also __Also__
  • ***Bold italics are not allowed*** ***Bold italics are not allowed***
  • Code `Code`
  • links [links](http://meta.stackoverflow.com/ "Meta")

For a more complete explanation, you can see the relevant part of the FAQ.

share|improve this answer
    
Ok, since I can't edit the post without triggering an exception currently: Ignore the messy formatting in the code line – JS and the server often disagree in terms of formatting. –  Joey May 19 '10 at 9:47
    
Note to add: The comment syntax is superficially similar to the one used in posts but differs in a number of headachy ways. You can hope never to encounter those cases, though :-) –  Joey May 19 '10 at 9:47
4  
Its sad whe cannot have even line breaks in comments :S –  ase69s May 19 '10 at 9:52
    
@Johannes Rössel: Wow, same thing happened to me: meta.stackexchange.com/questions/50447 –  Konrad Rudolph May 19 '10 at 9:54
9  
@ase69s, _____________________________________________________________________________________________ Yeah, _____________________________________________________________________________________________ You _____________________________________________________________________________________________ cannot _____________________________________________________________________________________________ have _____________________________________________________________________________________________ it, unless you overflow it :) –  YOU May 19 '10 at 10:47
2  
@S.Mark: ̶T̶h̶a̶t̶s ̶g̶r̶e̶a̶t ;-) –  Andy E May 19 '10 at 13:14
2  
And I would hate to read comments if they all looked like that!!!! –  The Unhandled Exception May 19 '10 at 13:16
1  
@SMark stop breaking comments! Damn kinds with your fancy overflows!! –  alex May 19 '10 at 14:15
add comment

(Don't forget inline links!)

We do allow very limited markdown in comments now:

  • * and _ for bold, italic
  • `` for code blocks
  • [example](http://example.com "merely an example")

No HTML, just Markdown in comments, please!

Allow HTML tags in comments

share|improve this answer
add comment

Some of the formatting works in comments. Notably inline links, *emphasis*, **strong emphasis** and `code`.

This is all I could find in reference: a blog post about the changes.

share|improve this answer
add comment

You must log in to answer this question.

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