A simple R package to automatically build consistently formated and nicely looking READMEs and simple package websites.
devtools::install_github("Appsilon/readmebuilder")
Run:
build_readme("examples/README.Rmd", output_md = 'README2.md')
and check examples/README.Rmd for formatting of Rmd file.
Note two things here:
knitr::opts_chunk$set(
...
fig.path = "examples/README_files/"
)
To access screenshots of generated active cells include screenshot.force = TRUE parameter in cell definition:
{r, screenshot.force = TRUE}
html file just by adding this line to Rmd file:<link href='style.css' rel='stylesheet' type='text/css'>
and including style.css file in the folder containing your html output.
For more details check the documentation of the build_readme function.
Get in touch dev@appsilon.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.