gadenbuie / xaringanExtra

:ferris_wheel: A playground of enhancements and extensions for xaringan slides.
https://pkg.garrickadenbuie.com/xaringanExtra
Other
448 stars 36 forks source link

[panelset] panelset chunk option breaks line highlighting #99

Closed gadenbuie closed 3 years ago

gadenbuie commented 3 years ago

These don't work

.panelset[
```{r test, panelset = TRUE, results="hold"}
runif(5)
runif(2) #<<
runif(3)
runif(5)
runif(2)
runif(3)

]

mine-cetinkaya-rundel commented 3 years ago

I just came across this as well and came here to open an issue, happy to see it's already here!

I love the panelset feature and use it heavily in teaching. The shortcut for panelset with data visualization code is especially helpful since it's generally difficult to fit code and plot in the same slide. I also use highlighting regularly in teaching. All that to say, a huge upvote from me for this issue 😄