Description Usage Arguments Value References See Also Examples
View source: R/whisker_names.R
Extract varaibles names from a whisker template
1 2 3 | whisker_names(template)
whisker_vars(template)
|
template |
character of template text Provides a stringr type function for extracting the names for the substituted variable. This is useful if you want to do some checking or other manipulation of the template prior to rendering. |
chracter vector of names found in the template
See for example, http://stackoverflow.com/a/16596015/1504321
whisker_render
stri_extract_all_regex
on which this function relies
1 2 3 | template <- "Dear {{name}}, I have not loved you since {{date}}"
whisker_names(template)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.