Saturday, 2 November 2019

How to make bullets incrementally appear in flexdashboard storyboard for RMarkdown?

I'd like to make the bullet items on a flexdashboard/storyboard appear incrementally when the right arrow is clicked (presentation-style). How could this be achieved? I'm guessing a little Javascript but I don't know where to start. Ioslides export from Rmd has an option for incremental bullets, but I'd like to be able to do this on a per slide basis and I like the greater flexibility of flexdashboard/storyboard anyway.

See this MWE:

---
title: "How to increment?"
output: 
  flexdashboard::flex_dashboard:
    storyboard: true
---

### Slide 1

```{r}
hist(rnorm(100))
```

***

- I want these bullets
- to appear
- incrementally

### Slide 2

```{r}
hist(runif(100))
```

***

- I want these bullets
- to appear
- all at once
- when this slide
- comes up


from How to make bullets incrementally appear in flexdashboard storyboard for RMarkdown?

No comments:

Post a Comment