rolldown

by yihui

yihui / rolldown

R Markdown output formats for storytelling

131 Stars 7 Forks Last release: Not found Other 42 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

rolldown

Travis build status Lifecycle: Experimental

Rolldown is an R Markdown extension that builds scroll-driven HTML documents for storytelling, a.k.a scrollytelling, powered by JavaScript libraries. Currently, only Scrollama is supported.

Installation

# Install from GitHub
remotes::install_github("yihui/rolldown")

Get started

You can get started with some built-in R Markdown templates in this package. If you use the RStudio IDE, you can create a new R Markdown document from

File -> New File -> R Markdown -> From Template
. Then find a rolldown template from the list. If you do not use RStudio, you may use the
rmarkdown::draft()
function to create a new R Markdown document, e.g.,
# the basic style
rmarkdown::draft('story.Rmd', template = 'scrollama-document', package = 'rolldown')

the sidebar layout

rmarkdown::draft('story.Rmd', template = 'scrollama-sidebar', package = 'rolldown')

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.