insert_reference function

Insert references into help files