Esc

COMARK4011 · error

comark/quiz/swallowed-slot

Leave a blank line before #explain, #hint, and #answer

Without a blank line before it, #explain or #hint continues the reason above it as plain text, so the explanation shows inside an option instead of after the answer. Leave a blank line before every slot.

Incorrect

::question{#falsy}
Which value is falsy?

- [x] `0`
- [ ] `[]`
  > Every object is truthy, empty arrays too.
#explain
JavaScript has eight falsy values.
::
md
lint-comark example.mdexample.md:1:1 comark/quiz/swallowed-slot::question 1 (#falsy): #explain is inside the option "[]", because the blank line before it is missing.Leave a blank line before #explain.✖ 1 problem

Correct

::question{#falsy}
Which value is falsy?

- [x] `0`
- [ ] `[]`
  > Every object is truthy, empty arrays too.

#explain
JavaScript has eight falsy values.
::
md
lint-comark example.md✔ No problems