View source: R/get_rmd_header.R
Get the line indices of the header in an Rmd file
1 | get_rmd_header_indices(filename, file_lines = NULL, header_delimiter = "---")
|
filename |
the name of the Rmd file to read |
file_lines |
a character vector containing the lines of a source Rmd file. |
header_delimiter |
the delimiter for the beginning and ending of the Rmd header section. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.