Turn a reference into a link.