Widgets

fitb()

Create a fill-in-the-blank question

mcq()

Create a multiple-choice question

torf()

Create a true-or-false question

longmcq()

Longer MCQs with Radio Buttons

hide()

Create button revealing hidden content

unhide()

End hidden HTML content

Helper Functions

webexercises_default()

Create default webexercises document

add_to_bookdown()

Add webexercises helper files to bookdown

add_to_quarto()

Add webexercises helper files to quarto

create_quarto_doc()

Create a quarto document with webexercise

style_widgets()

Change webexercises widget style

escape_regex()

Escape a string for regex

round2()

Round up from .5

strip_lzero()

Strip leading zero from numeric string