figured out how to place a link inside the figure caption and how to place the anchor at the top of the code chunk