Add markdown in long-description for xml-based templates

Fixes #1064