If you manually create an excerpt for the post, the formatting of that excerpt will be retained.
If, instead, you let the wp-discourse plugin create an excerpt for you, all formatting will be stripped. Possibly this is something that should be fixed.

