Produces a custom output format function in the style of Edward Tufte's handouts. This
essentially recreates the tufte-handout latex document class using bootstrap.
Main features are plot hooks that put figures in the margin (marginfigure = TRUE
),
creates full-width figures (fig.star = TRUE
), and allows "sidenotes". To create a sidenote,
some raw html is required. Usage is <aside> Content </aside>
. See the
package vignette for more details.
1 2 3 |
self_contained |
Include all dependencies |
theme |
Bootstrap theme |
lib_dir |
Local directory to copy assets |
keep_md |
Keep knitr-generated markdown |
mathjax |
Include mathjax, "local" or "default" |
pandoc_args |
Other arguments to pass to pandoc |
... |
Additional function arguments to pass to the base R Markdown HTML output formatter |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.