This is a minimal example of a book based on R Markdown and bookdown (https://github.com/rstudio/bookdown). Open this repository in RStudio, then open index.Rmd
, and click the Knit
button to compile the book.
You can find the preview of this example at https://bookdown.org/yihui/bookdown-demo/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.