View source: R/transform-code.R
get_knitr_pattern | R Documentation |
Determine a regex pattern for identifying R code chunks.
get_knitr_pattern(filetype)
filetype |
A string indicating the filetype - either 'Rmd' or 'Rnw'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.