Fixes #251 formatting of links inside labels, adds doc example