format the link