COMARK0602 · warning
comark/code/line-out-of-range
Mark only lines the code block has
A marked or collapsed range that runs past the block's last line usually means lines were cut from the code after the range was written. The lines past the end don't exist, so the range marks nothing.
Incorrect
```js mark={3}
const ducks = 14;
const pigeons = 3;
``` lint-comark example.mdexample.md:1:1 comark/code/line-out-of-rangeMark lines from 1 to 2.✖ 1 problem
Correct
```js mark={2}
const ducks = 14;
const pigeons = 3;
``` lint-comark example.md✔ No problems