# Small script for generating github readme and github pages.
unlink("README_files/", recursive = TRUE)
rmarkdown::render("README.Rmd", output_format = "github_document")
rmarkdown::render("README.Rmd", output_format = "html_document", output_file = "docs/index.html")
file.remove("README.html")
file.remove("docs/index.md")
browseURL("docs/index.html")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.