add support for custom linkAttributes to be used during link generation like target="_blank" and class="marked"