library(epoxy) the_data <- list( list(first = "one", second = "two"), list(first = "three", second = "four"), list(first = "five", second = "six"), list(first = "seven", second = "eight"), list(first = "nine", second = "ten") ) knitr::opts_chunk$set(.data = the_data[[1]])
```{epoxy chunk-template, .data = the_data[[2]]} {first} followed by {second}
```r epoxy_use_chunk(the_data[[3]], "chunk-template")
epoxy_use_chunk(the_data[[4]], "chunk-template")
epoxy_use_chunk(label = "chunk-template")
r epoxy_use_chunk(label = "chunk-template")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.