Adding in-document links