How Will an Animated GIF Work in a Textbook?

1 · Yihui Xie · July 17, 2018, midnight
When I gave my first public talk on bookdown in Chicago in 2016, I mentioned a few motivations behind this project. One of them was that I believed books should/could have richer content. I meant there could be videos, dynamic or interactive content in a book. For example, readers could be able to fit a model right inside the book if you embed a Shiny app. Yesterday (i.e. two years later) I finally saw a real example from a tweet by Matt Crump, where he showed an animated GIF that demonstrates h...