Closed yonicd closed 3 years ago
how would you go about adding lightbox.js or bootstrap image modals as an extra to plots returned by knitr chunks or knitr::include_graphics?
knitr::include_graphics
i implemented this script, but it is only for 1 image and isnt that generalizable to any image in the doc
https://www.w3schools.com/howto/howto_css_modal_images.asp
figured out lightebox2, i'll see if i can make that into a portable load for any html output for Rmds
how would you go about adding lightbox.js or bootstrap image modals as an extra to plots returned by knitr chunks or
knitr::include_graphics
?