Esc

COMARK4005 · warning

comark/quiz/missing-id

Give every quiz block an #id

Hosts save answers and votes by the block's id. Without #id, the id is a hash of the prompt and options, so fixing a typo in either loses every reader's answer. Name the block once and keep the name.

Incorrect

::poll
What should the next lesson cover?

- [ ] Web Workers
- [ ] Streams
::
md
lint-comark example.mdexample.md:1:1 comark/quiz/missing-id::poll 1 has no id, so a reader's answer is lost when its text changes.Give it one, as in ::poll{#event-loop}.✖ 1 problem

Correct

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

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