View source: R/chunk_processing.R
check_chunk_codefig | R Documentation |
Check to see which chunks do not have codefig in their label
check_chunk_codefig(chunk_name = chunk_name)
chunk_name |
Chunk options vector |
We want to make sure chunks relying on fig_chunk()
remain named,
so we don't re-name them and then break the label that allows left-code / right-plot slides to be constructed.
By design every fig_chunk()
dependent chunk should have codefig
in its label. (This is managed via snippets.)
Logical vector of chunks that can be safely unnamed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.