Esc

COMARK0709 · warning

comark/diff/invalid-line

Write line as a whole number from 1

line is the file's line number for the first line of both blocks, and numbers the rest from there. Anything but a whole number from 1, such as a range, is ignored, and the diff shows no line numbers.

Incorrect

::diff{line="12-14"}
```ts [src/ducks.ts]
const meals = 1
```
```ts
const meals = 2
```
::
md
lint-comark example.mdexample.md:1:1 comark/diff/invalid-linediff "src/ducks.ts": line must be the file's line number for the first line, a whole number from 1 (got "12-14").Change the block as the message says.✖ 1 problem

Correct

::diff{line=12}
```ts [src/ducks.ts]
const meals = 1
```
```ts
const meals = 2
```
::
md
lint-comark example.md✔ No problems