document capture of line magic to variable