finalize_question | R Documentation |
Mark a question as finalized by adding a question-final
class to the HTML
output at the top level, in addition to disabling all tags with
disable_all_tags()
.
finalize_question(ele)
ele |
html tag element |
An htmltools HTML object with appropriately appended classes such that a tutorial question is marked as the final answer.
# finalize the question UI
finalize_question(
htmltools::div(
class = "custom-question",
htmltools::div("answer 1"),
htmltools::div("answer 2")
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.