library(rmarkdown)
render("readme-src.Rmd", output_file = "README.md",
html_document(keep_md = T, variant = "markdown_github"),
quiet = T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.