View source: R/get_rmd_chunks.R
Get the yaml header from an Rmd file
1 | get_rmd_chunk_indices(filename, file_lines = NULL)
|
filename |
the name of the Rmd file to read |
file_lines |
a character vector containing the lines of a source Rmd file. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.