Skip to content

Instantly share code, notes, and snippets.

@gadenbuie
Created September 22, 2020 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gadenbuie/fa7b75e5447ea52d5d1f13d2f15ca7fa to your computer and use it in GitHub Desktop.
Save gadenbuie/fa7b75e5447ea52d5d1f13d2f15ca7fa to your computer and use it in GitHub Desktop.
---
title: "panelset"
author: "Garrick Aden-Buie"
date: "9/22/2020"
output: ioslides_presentation
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
```{css echo=FALSE}
/* hide the dot that ioslides adds to list items */
.panelset ul > li::before {
display: none !important;
}
```
## R Markdown
```{r}
xaringanExtra::use_panelset()
```
This is an R Markdown presentation. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document.
## Panels
::::: {.panelset}
::: {.panel}
[Slide with R Output]{.panel-name}
```{r cars, echo = TRUE}
summary(cars)
```
:::
::: {.panel}
[Slide with Plot]{.panel-name}
```{r pressure}
plot(pressure)
```
:::
::: {.panel}
[Text]{.panel-name}
Consectetur scelerisque porta erat eros inceptos eu dapibus mauris.
Elit dui quisque lacinia purus eget vel nam condimentum pulvinar.
Dolor inceptos montes nec sociosqu porttitor faucibus aptent suspendisse ornare.
:::
::::
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment