I've added some code to add anchors to the HTML that allow linking to named chunks as well as figures with captions. This is something I found useful in my own work and may be of general interest.
This allows chunks to be referenced as [link text](#label) and figures as [link text](#label_figure).
If there are no objections I'll merge this. Any thoughts on further improvements are of course very welcome.
I've added some code to add anchors to the HTML that allow linking to named chunks as well as figures with captions. This is something I found useful in my own work and may be of general interest. This allows chunks to be referenced as
[link text](#label)
and figures as[link text](#label_figure)
.If there are no objections I'll merge this. Any thoughts on further improvements are of course very welcome.