`r if (knitr::is_html_output()){ '
#https://github.com/rstudio/bookdown/issues/8 how to put the references wherever we want. # `r if (knitr::is_html_output()){ ' # # References {-} # <div id="refs"></div> # '}`
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.