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)
A path to a quiz .md file to be converted.
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
Would you like the progress messages?
A Coursera-ready quiz file saved to the output directory specified as a yaml.
if (FALSE) {
quiz_path <- good_quiz_path()
# Provide path to quiz to convert
convert_quiz(quiz_path)
}