writing link formatting