A package for enumerating tables and figures in rmarkdown documents. It's easy enough:
rmd_tab
produces a caption, records a label (chunk label as default) and assigns a numberrmd_ref
retrieves the numbersAlso, a
knitr
chunk hook tab.cap
analogous to fig.cap
(Update: I think the R package 'bookdown' solves these problems.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.