Changing links to markdown syntax