Nothing
Code
margin_references(x)
Output
[1] "<p>See <span class=\"citation\">(<label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie 2020a<span class=\"marginnote\">Xie, Yihui. 2020a. <em>Knitr: A General-Purpose Package for Dynamic Report Generation in r</em>. <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a>.</span>)</span>.</p>"
[2] "<p>See <span class=\"citation\"><label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie (2020b)<span class=\"marginnote\">Xie, Yihui. 2020b. <em>Knitr: A General-Purpose Package for Dynamic Report Generation in r - Duplicate</em>. <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a>.</span></span></p>"
[3] "<p>See <span class=\"citation\"><label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie (2020a)<span class=\"marginnote\">Xie, Yihui. 2020a. <em>Knitr: A General-Purpose Package for Dynamic Report Generation in r</em>. <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a>.</span></span> and <span class=\"citation\"><label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie, Allaire, and Grolemund (2018)<span class=\"marginnote\">Xie, Yihui, J. J. Allaire, and Garrett Grolemund. 2018. <em>R Markdown: The Definitive Guide</em>. Boca Raton, Florida: Chapman; Hall/CRC. <a href=\"https://bookdown.org/yihui/rmarkdown\">https://bookdown.org/yihui/rmarkdown</a>.</span></span></p>"
[4] "<p>See <span class=\"citation\">(<label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie 2020a<span class=\"marginnote\">Xie, Yihui. 2020a. <em>Knitr: A General-Purpose Package for Dynamic Report Generation in r</em>. <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a>.</span>)</span> and <span class=\"citation\">(<label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie, Allaire, and Grolemund 2018<span class=\"marginnote\">Xie, Yihui, J. J. Allaire, and Garrett Grolemund. 2018. <em>R Markdown: The Definitive Guide</em>. Boca Raton, Florida: Chapman; Hall/CRC. <a href=\"https://bookdown.org/yihui/rmarkdown\">https://bookdown.org/yihui/rmarkdown</a>.</span>)</span></p>"
Code
margin_references(x)
Output
[1] "<p>See <span class=\"citation\">(Xie 2020a)</span>.</p>"
[2] "<p>See <span class=\"citation\">Xie (2020b)</span></p>"
[3] "<p>See <span class=\"citation\">Xie (2020a)</span> and <span class=\"citation\">Xie, Allaire, and Grolemund (2018)</span></p>"
[4] "<p>See <span class=\"citation\">(Xie 2020a)</span> and <span class=\"citation\">(Xie, Allaire, and Grolemund 2018)</span></p>"
[5] "<div id=\"refs\" class=\"references csl-bib-body hanging-indent\">"
[6] "<div id=\"ref-R-knitr\" class=\"csl-entry\">"
[7] "Xie, Yihui. 2020a. <em>Knitr: A General-Purpose Package for Dynamic Report Generation in r</em>. <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a>."
[8] "</div>"
[9] "<div id=\"ref-R-knitr2\" class=\"csl-entry\">"
[10] "———. 2020b. <em>Knitr: A General-Purpose Package for Dynamic Report Generation in r - Duplicate</em>. <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a>."
[11] "</div>"
[12] "<div id=\"ref-rmarkdown2018\" class=\"csl-entry\">"
[13] "Xie, Yihui, J. J. Allaire, and Garrett Grolemund. 2018. <em>R Markdown: The Definitive Guide</em>. Boca Raton, Florida: Chapman; Hall/CRC. <a href=\"https://bookdown.org/yihui/rmarkdown\">https://bookdown.org/yihui/rmarkdown</a>."
[14] "</div>"
[15] "</div>"
Code
margin_references(x)
Output
[1] "<p>See <span class=\"citation\">(<label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie, 2020a<span class=\"marginnote\">Xie, Y. (2020a). <em>Knitr: A general-purpose package for dynamic report generation in r</em>. Retrieved from <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a></span>)</span>.</p>"
[2] "<p>See <span class=\"citation\"><label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie (2020b)<span class=\"marginnote\">Xie, Y. (2020b). <em>Knitr: A general-purpose package for dynamic report generation in r - duplicate</em>. Retrieved from <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a></span></span></p>"
[3] "<p>See <span class=\"citation\"><label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie (2020a)<span class=\"marginnote\">Xie, Y. (2020a). <em>Knitr: A general-purpose package for dynamic report generation in r</em>. Retrieved from <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a></span></span> and <span class=\"citation\"><label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie, Allaire, & Grolemund (2018)<span class=\"marginnote\">Xie, Y., Allaire, J. J., & Grolemund, G. (2018). <em>R markdown: The definitive guide</em>. Boca Raton, Florida: Chapman; Hall/CRC. Retrieved from <a href=\"https://bookdown.org/yihui/rmarkdown\">https://bookdown.org/yihui/rmarkdown</a></span></span></p>"
[4] "<p>See <span class=\"citation\">(<label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie, 2020a<span class=\"marginnote\">Xie, Y. (2020a). <em>Knitr: A general-purpose package for dynamic report generation in r</em>. Retrieved from <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a></span>)</span> and <span class=\"citation\">(<label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie, Allaire, & Grolemund, 2018<span class=\"marginnote\">Xie, Y., Allaire, J. J., & Grolemund, G. (2018). <em>R markdown: The definitive guide</em>. Boca Raton, Florida: Chapman; Hall/CRC. Retrieved from <a href=\"https://bookdown.org/yihui/rmarkdown\">https://bookdown.org/yihui/rmarkdown</a></span>)</span></p>"
Code
margin_references(x)
Output
[1] "<p>See <span class=\"citation\">(<label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie 2020a<span class=\"marginnote\">Xie, Yihui. 2020a. <em>Knitr: A General-Purpose Package for Dynamic Report Generation in r</em>. <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a>.</span>)</span>.</p>"
[2] "<p>See <span class=\"citation\"><label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie (2020b)<span class=\"marginnote\">Xie, Yihui. 2020b. <em>Knitr: A General-Purpose Package for Dynamic Report Generation in r - Duplicate</em>. <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a>.</span></span></p>"
[3] "<p>See <span class=\"citation\"><label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie (2020a)<span class=\"marginnote\">Xie, Yihui. 2020a. <em>Knitr: A General-Purpose Package for Dynamic Report Generation in r</em>. <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a>.</span></span> and <span class=\"citation\"><label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie, Allaire, and Grolemund (2018)<span class=\"marginnote\">Xie, Yihui, J. J. Allaire, and Garrett Grolemund. 2018. <em>R Markdown: The Definitive Guide</em>. Boca Raton, Florida: Chapman; Hall/CRC. <a href=\"https://bookdown.org/yihui/rmarkdown\">https://bookdown.org/yihui/rmarkdown</a>.</span></span></p>"
[4] "<p>See <span class=\"citation\">(<label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie 2020a<span class=\"marginnote\">Xie, Yihui. 2020a. <em>Knitr: A General-Purpose Package for Dynamic Report Generation in r</em>. <a href=\"https://yihui.org/knitr/\">https://yihui.org/knitr/</a>.</span>)</span> and <span class=\"citation\">(<label for=\"tufte-mn-\" class=\"margin-toggle\">⊕</label><input type=\"checkbox\" id=\"tufte-mn-\" class=\"margin-toggle\">Xie, Allaire, and Grolemund 2018<span class=\"marginnote\">Xie, Yihui, J. J. Allaire, and Garrett Grolemund. 2018. <em>R Markdown: The Definitive Guide</em>. Boca Raton, Florida: Chapman; Hall/CRC. <a href=\"https://bookdown.org/yihui/rmarkdown\">https://bookdown.org/yihui/rmarkdown</a>.</span>)</span></p>"
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.