(see drupal.stackexhange.com)

Formatting is provided via a ckeditor-like interface. There is a block on the righthand side how to format, e.g., links or code.

There is a special filter which interprets the formatting to create the actual listing.