generate preview link for plane text