Added configuration option for tooltip text format.

Fixed issue #42