The folks at Jumping Rivers continue a series on knitr and rmarkdown:
In this third post, we’ll look at including eternal images, such as figures and logos in HTML documents. This is relevant for all R markdown files, including fancy things like {bookdown}, {distill} and {pkgdown}. The main difference with the images discussed in this post, is that the image isn’t generated by R. Instead, we’re thinking of something like a photograph. When including an image in your web-page, the two key points are
– What size is your image?
– What’s the size of your HTML/CSS container on your web-page?
Read the whole thing.
Comments closed