Update reference.rst

document manual capture of line magics