generate embedded links