View source: R/includeQuestion.R
includeQuestion | R Documentation |
Include Summary/Details block.
includeQuestion(
summary,
detail,
summary_label = "Quiz",
detail_label = "Answer",
...
)
summary |
character. Text to show, typically, question string. |
detail |
character. Texts to hide, typically, answer string. |
summary_label |
character. Label for the open block. |
detail_label |
character. Label for the hidden block. |
... |
character. Concatenated with the detail argument. |
HTML5 summary/details block is inserted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.