Reference · SemText · Disclosure & views
<highlight>
SemText element
You wrap the words to remember in a highlight child, or use [[double brackets]] as shorthand. Hiding them turns the passage into a self-test; showing them again reveals the answers.
Shares its schema with
<sem-details>
— the option bullets below belong to that element's contract.
No options beyond the global attribute catalog are stated for this tag.
Example
Live render boots with JavaScript — the authored source is alongside.
Quiz view — occluded, reveals per item
The same <sem-details> prose in the view-as mode the schema states as the self-check view — each <highlight> is occluded and revealed per item. Shown as its own figure: which of the pair the generator presents as the primary example is the schema file's choice.
Live render boots with JavaScript — the authored source is alongside.
Source: spec/schema/sem-details.md