Description Usage Arguments Details
The function rmarkdown::draft()
uses a defined
directory structure under "rmarkdown/templates" to
instantiate new documents. This function create_template()
creates a new skeleton infrastructure for a new template.
1 | create_template(psTemplateName, psPkgDir = ".")
|
psTemplateName |
name of the template to be created |
psPkgDir |
Package directory |
In principle, we are doing meta-templating here. We use a generic template and create a more specific template based on that. The generic template is stored as template of this package "rcoursetools". From this the template infrastructure is copied to the target package from where it can be used as ordinary template.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.