Post-process the HTML content to resolve references of figures, tables, and
sections, etc. The references are written in the form
the R Markdown source document.
resolve_refs_html(content, global = FALSE)
A character vector of the HTML content.
Whether to number the elements incrementally throughout the
whole document, or number them by the first-level headers. For an R
Markdown output format,
A post-processed character vector of the HTML character.
library(bookdown) resolve_refs_html(c("<caption>(#tab:foo) A nice table.</caption>", "<p>See Table @ref(tab:foo).</p>"), global = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.