#| label: setup library(documentNumbering) figure_count = dn_counter$new() knitr::opts_chunk$set(fig.process = figure_count$modify_path) figure_count = figure_count$increment("testfigure") figure_count = figure_count$increment("test2")
#| label: testfigure plot(rnorm(100), rnorm(100))
#| label: test2 plot(rnorm(100), rnorm(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.