utilitR
This package aims to simplify the formatting of utilitR
documentation. A series of function to customize rmarkdown
output is proposed
in this package.
An example website built using this package can be found here
You can use
rmarkdown::draft('index.Rmd', template="utilitr", package="utilitr", edit = FALSE)
or File > new File > R Markdown > FromTemplate > Modèle documentation utilitR
(in that case make sure to change the .Rmd
filename into index.Rmd
) to
create a MWE of the output format.
You can either generate a static website or a PDF book using our package:
bookdown
with the following
command: bookdown::render_book("index.Rmd", output_dir = "_public", output_format = "utilitr::html_document")
pdf_document
function that uses
pagedown
package under the hood:utilitr::pdf_document()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.