View source: R/quiz_formatting.R
| convert_quiz | R Documentation | 
Convert a Leanpub-formatted md quiz file to a Coursera-formatted yaml quiz file in preparation for uploading to Coursera.
convert_quiz(quiz_path, output_quiz_dir = dirname(quiz_path), verbose = TRUE)
quiz_path | 
 A path to a quiz .md file to be converted.  | 
output_quiz_dir | 
 An existing folder where you would like the new version of the quiz to be saved. Default is the directory of the quiz_path provided  | 
verbose | 
 Would you like the progress messages?  | 
A Coursera-ready quiz file saved to the output directory specified as a yaml.
## Not run: 
quiz_path <- good_quiz_path()
# Provide path to quiz to convert
convert_quiz(quiz_path)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.