# Text formatting now allowed in comments (List of proven and disproven abilities)

What special formatting tricks can be done in the comments now?

Proven:

• `**text**` or `__text__` = Bolding = text
• `*text*` or `_text_` = Italics = text
• ``text`` = Code Formatting = `text`
• `[example](http://example.com "title")` Inline links with title and text
• `http://example.com` plain old links

Disproven:

• Cannot insert `<kbd>` characters
• Cannot use `#[text]` to increase size
-
Really? –  perbert Apr 1 '10 at 14:44
No bold italic. ([No links in parentheses](www.google.com)) –  badp Jul 18 '10 at 12:43
Whoops! If you put text before and after it, you can do bold italic -- just not bold italic alone. –  badp Jul 18 '10 at 12:49
Multiple code lines work?? `string hexString = string.Format("{0:X}", -5); long hexValue = long.Parse(hexString, NumberStyles.AllowHexSpecifier);` –  VitalyB Sep 10 '10 at 14:27
+1 to VitalyB. Line breaks are important –  aximili Oct 20 '11 at 23:47

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

-
This is good, but might be clearer if there isn't a line break just after the `]` of `[link]`. –  Richard Feb 2 '11 at 7:39
There is now even a "Learn more..." link to a help page with more information (including some shorthand links not yet mentioned here). –  Fr33dan Sep 24 '13 at 13:53

This was new as of 2009-7-3, there is a comment by Jeff under this answer which was posted on 2009-6-29:

I would really like some of the basic markdown stuff be added, for example

``````
`code highlight`
*italic*
**bold**
***bold italic***
``````
hey look! italic and bold and some `escaped *code* sample` – Jeff Atwood♦

I also mentioned it on the 30th:

At least, I would want bold and italic to work.

As for syntax highlighting, you don't get that for simple `inlined` code sections, so why would you need it in comments.

Which means it had to have been implemented between 2009-6-30 and 2009-7-3.

-
bold and italic? –  RedFilter Jan 12 '10 at 21:40
`*`asterisk`*` d –  RedFilter Jan 12 '10 at 21:41

This is something that is only very recent - see http://www.codinghorror.com/blog/archives/001285.html for more info.

-

The only bad thing is that it counts the markup toward the number of characters. So bolding something means you can actually enter 4 characters less. Of course, this effectively makes the minimum comment length 11.

-