Esc

COMARK4016 · warning

comark/quiz/nested-block

Keep quiz blocks out of each other

A block inside another block's prompt, option, or slot would put its options among the outer block's, where a host can't tell them apart, so it renders as plain text. Put it after the outer block.

Incorrect

::recall{#why-microtasks}
Why does a promise callback run before a zero-delay timer?

#answer
A promise callback is a microtask.

:::poll{#next-lesson}
What should the next lesson cover?

- [ ] Web Workers
- [ ] Streams
:::
::
md
lint-comark example.mdexample.md:7:1 comark/quiz/nested-block::poll 1 sits inside ::recall 1, so it renders as plain text.Move it out, after ::recall 1.✖ 1 problem

Correct

::recall{#why-microtasks}
Why does a promise callback run before a zero-delay timer?

#answer
A promise callback is a microtask.
::

::poll{#next-lesson}
What should the next lesson cover?

- [ ] Web Workers
- [ ] Streams
::
md
lint-comark example.md✔ No problems