This function will generate a fully themed HTML report. It is a wrapper
around rmdformats::downcute() with custom elements.
Usage
g6tr_html_report(
fig_width = 7,
fig_height = 7,
thumbnails = FALSE,
lightbox = TRUE,
gallery = TRUE,
floating_toc = TRUE,
code_folding = "hide",
...
)Arguments
- fig_width
Default width (in inches) for figures
- fig_height
Default height (in inches) for figures
- thumbnails
If TRUE display content images as thumbnails
- lightbox
If TRUE, add lightbox effect to content images
- gallery
If TRUE and lightbox is TRUE, add a gallery navigation between images in lightbox display
- floating_toc
If TRUE, will display a floating TOC on the left. If FALSE, the TOC will be removed, and the page will be wider.
- code_folding
Enable document readers to toggle the display of R code chunks. Specify "none" to display all code chunks (assuming they were knit with echo = TRUE). Specify "hide" to hide all R code chunks by default (users can show hidden code chunks either individually or document-wide). Specify "show" to show all R code chunks by default.
- ...
Additional function arguments passed to R Markdown
html_document()