Fill-in-the-Blank
For short-answer questions where students write on a line.
#fill-in[answer](width: <auto|length>, stroke: <stroke>)| Parameter | Type | Default | Description |
|---|---|---|---|
answer | content | — | The correct answer (shown when answers are visible) |
width | auto or length | auto | Width of the blank line. auto measures the answer content plus padding. |
stroke | stroke | 0.5pt | The stroke style for the underline |
Basic Usage
Section titled “Basic Usage”The capital of France is #fill-in[Paris]. With Answers Shown
Section titled “With Answers Shown”#examst-set(show-answers: true)
The capital of France is #fill-in[Paris].
#examst-reset() Custom Width
Section titled “Custom Width”You can set the width globally or per-instance:
#examst-set(fill-in-width: 3in)
Name: #fill-in[Andrew Smith]
#examst-reset()