require(usethis)
# Create skeleton directory structure for a new template:
use_rmarkdown_template(
template_name = "Blank Moodle Question",
template_description = "template for a moodle quiz question",
template_create_dir = FALSE
)
use_rmarkdown_template(
template_name = "Moodle single correct answer",
template_description = "template for a moodle single correct answer quiz question",
template_create_dir = FALSE
)
use_rmarkdown_template(
template_name = "Moodle multiple correct answer",
template_description = "template for a moodle multiple correct answer quiz question",
template_create_dir = FALSE
)
use_rmarkdown_template(
template_name = "Moodle numeric answer",
template_description = "template for a moodle numeric answer quiz question",
template_create_dir = FALSE
)
use_rmarkdown_template(
template_name = "Moodle string answer",
template_description = "template for a moodle string answer quiz question",
template_create_dir = FALSE
)
use_rmarkdown_template(
template_name = "Moodle image upload",
template_description = "template for a moodle string answer with image upload quiz question",
template_create_dir = FALSE
)
use_rmarkdown_template(
template_name = "Moodle file upload",
template_description = "template for a moodle string answer with any file type upload quiz question",
template_create_dir = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.