example = function() {
file = "C:/libraries/shinyChatQuiz/quizes.yaml"
}
# load.quiz.yaml = function(file) {
# qu.li = yaml.load_file(file)
# qu.li = lapply(qu.li, function(qu) {
# qu = makeQuiz(qu=qu)
# })
#
# }
#
# import_dialog = function() {
# ui = tagList(
# fileInput("quiz_file", "Choose Yaml file that contains questions",
# accept = c("text/yaml",".yaml"))
# )
# showModal(modalDialog(ui))
# }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.