change_chunk_suffix | R Documentation |
Change the chunk and tag suffixes for a .Rmd file
change_chunk_suffix(file_name, chunk_suffix = "")
file_name |
Filename/path of the .rmd file to create/modify. If it does not exist, an error will be given |
chunk_suffix |
A string to be appended to the chunk names and tags with a preceding dash. If a name has already been appended this new suffix will replace it. If this is the empty string, any previous suffixes will be removed. |
Nothing
unlink("test.Rmd")
create_default_rmd("test.Rmd")
change_chunk_suffix("test.Rmd", "test-suffix")
unlink("test.Rmd")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.