R Markdown Output Formats for Storytelling

R Markdown output formats based on JavaScript libraries such as 'Scrollama' (< https://github.com/russellsamora/scrollama>) for storytelling.


rolldown

R-CMD-check rolldown statusbadge 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.packages("rolldown", repos = c("https://yihui.r-universe.dev", "https://cloud.r-project.org"))

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')

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rolldown")

0.2 by Yihui Xie, 2 years ago


https://github.com/yihui/rolldown


Report a bug at https://github.com/yihui/rolldown/issues


Browse source code at https://github.com/cran/rolldown


Authors: Yihui Xie [aut, cre] , https://yihui.org) , Siqi Zhang [ctb] , Russell Goldenberg [ctb] (The JS library inst/resources/scrollama/scrollama.min.js)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports htmltools, bookdown, jsonlite

Suggests knitr, rmarkdown


Suggested by chronicle.


See at CRAN