View source: R/dn_modify_path.R
dn_modify_path | R Documentation |
This function uses chunk options to rename the figure file.
You should add a chunk option called dn_id
that uses
dn_figure_rename
to get the figure number. See the vignette for an
example of how to use this in an actual document.
dn_modify_path(figure_path, options)
figure_path |
the original figure path |
options |
the chunk options |
We often want to include the figure number in figure file names. This function allows us to rename them easily.
character
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.