Skip to contents

Include Summary/Details block.

Usage

includeQuestion(
  summary,
  detail,
  summary_label = "Quiz",
  detail_label = "Answer",
  ...
)

Arguments

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.

Value

HTML5 summary/details block is inserted.