set links to markdown and common mark