making links markdown-friendly