127

I see some people write comments that are for example - in italics.

I do not see any way of doing that while writing my comments. Why is it so?

166
*italics*
**bold**
***bold and italics***
`code`
[link text](url)

More details here: Text Formatting Now Allowed In Comments

As for why the site doesn't tell you how to do this, I can't say. The site now has a "help" link when writing a comment which tells you exactly what I have written above.

  • 3
    italics bold code – mmyers Oct 6 '09 at 21:55
  • 2
    Don't forget [link text]( url ) – Tim Post Feb 2 '11 at 9:54
  • @tim- added. link text – Kip Feb 2 '11 at 19:48
  • 1
    @TomášZato It seems that it doesn't work if you have a space before the final asterisk. I don't know if this is a recent change, or if that has never worked. you can open an issue here if you want. Ex: *no space* *with space * => no space *with space * – Kip Aug 18 '14 at 22:08
  • this doesn't work anymore, and this is a BAD thing !!! – Alexander Mills Aug 14 '15 at 3:59
  • @AlexMills What do you mean? seems to work fine for me: italics bold bolditalic code link – Kip Aug 14 '15 at 14:51
  • What about keypad keys? – Pratik Butani Sep 25 '15 at 7:01
  • If url conatins ( or ) its not working. developer.android.com/reference/android/content/… – Kishan Vaghela Mar 17 '16 at 6:59
  • 1
    . – That1Guy Jul 8 '16 at 19:28
  • 1
    As for why the site doesn't tell you how to do this, I can't say. I disagree. – Unitato says Reinstate Monica Jun 21 '17 at 14:26
  • 1
    @PrittBalagopal your screenshot is for writing an answer, not a comment. But help has been added to comments also at some point in the last eight years, so I updated my answer. – Kip Jun 25 '17 at 12:58
30

Click the help link under [add comment] to see a summary of the available formatting options.

commenting help

  • Great solution as it will continue to be useful when things change! – Neuron Apr 10 '18 at 14:45
  • 2
    I didn't even think to click on that because it's formatted as a link. If I'm in the middle of typing out a comment and realize I want to add formatting the last thing I want to do is click something that looks like a link. As I expect the default behavior of that would be to take me to another page. It really should be formatted to look like something other than a link, or have a name other than "help" that indicates what it actually does. Such as "show formatting options." Or better yet provide the same editor that answers get with formatting options specific to comments. – Stack of Pancakes May 13 '18 at 13:30
12

Use * * around your text for italics like this

Use ** ** around your text for bold like this

Use *** *** around your text for bold italics like this.

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