rmd_cap
produces a caption, records a label (chunk label as default)
and assigns a number. These number can be referenced inline with
rmd_ref
to retrieve the number.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.