Esc

COMARK3203 · warning

comark/code-notes/note-without-marker

Give every note a marker in the code

Each note in the list links back to its marker in the code. A note whose number no line carries explains nothing in particular, and readers can't tell which line it means. Add the marker at the end of its line, in the language's comment, or remove the note.

Incorrect

```ts
const ducks = await pond.count() // <1>
await feed(ducks)
```

1. Count the ducks before feeding them.
2. Feed them once a day, before the deploy.
md
lint-comark example.mdexample.md:1:1 comark/code-notes/note-without-markerThe ```ts fence 1: note 2 has no <2> marker in the code.Add // <2> at the end of its line, in the language's comment.✖ 1 problem

Correct

```ts
const ducks = await pond.count() // <1>
await feed(ducks) // <2>
```

1. Count the ducks before feeding them.
2. Feed them once a day, before the deploy.
md
lint-comark example.md✔ No problems