rstudio / learnr

Interactive Tutorials with R Markdown
https://pkgs.rstudio.com/learnr
Apache License 2.0
712 stars 239 forks source link

Responsive images #102

Open JohnCoene opened 7 years ago

JohnCoene commented 7 years ago

Not entirely sure this is how it should work but using markdown to include images doesn't add the bootstrap img-responsive class.

Not responsive: ![my_image](images/myimage.png)

Responsive: img(src = "images/myimage.png", alt="my_image", class="img-responsive")

jjallaire commented 7 years ago

You should be able to do this:

![my_image](images/myimage.png){.img-responsive}