clauswilke / dataviz

A book covering the fundamentals of data visualization
https://clauswilke.com/dataviz
Other
3.2k stars 701 forks source link

Feature request: direct links to code #16

Closed sjspielman closed 6 years ago

sjspielman commented 6 years ago

Hi Claus,

It would be a really good addition, I think, to see if either it's possible to make figures into links in Rmarkdown, or similarly have footnotes or captions throughout the book, directly linking each fig to its source code. That way, people reading the online version can immediately jump to the code they need to reproduce.

-Stephanie

clauswilke commented 6 years ago

This won't happen. I'll have to write a frequently asked questions section somewhere to address this request. Leaving the issue open for that reason. (The only way this could happen is if rmarkdown added the feature natively. This is a request for the maintainer of rmarkdown.)

clauswilke commented 6 years ago

FAQ added to README: https://github.com/clauswilke/dataviz/blob/master/README.md