get links and @ references to link