20 - the CommonMark link takes the try prefix too, and §11's rule names it
CI / gate (push) Successful in 29s
CI / publish (push) Has been skipped

This commit is contained in:
2026-09-21 21:07:54 +02:00
parent 6391928fb4
commit 97bf2440fd
4 changed files with 19 additions and 14 deletions
+5 -2
View File
@@ -933,8 +933,11 @@ The done `todo.md` items in full, as they were written. `todo.md` keeps a one-li
directive form shares — a walk, `codeBlockText`, `emitInlineLine` — so moving it out is the
second walk 4b removed, and they take the prefix alone. `tryRule` refuses nothing, so it
takes the narrower type as well, `string | undefined` through `readableText`, which is what
`tryImage` and `tryPipeTable` already return. §11's readable-spelling rule carries the
prefix, so the next spelling is named by the rule rather than by the six beside it.
`tryImage` and `tryPipeTable` already return. `emitLink` is the same channel outside the
six — the CommonMark link tried ahead of the inline directive form — so it takes the prefix
with them, and the comment naming its `undefined` arm goes with the rename. §11's
readable-spelling rule carries the prefix, so the next spelling is named by the rule rather
than by the seven beside it.
- [x] **28 — `emitLine`'s retry loop cannot spin (`0.2.0`).** `emit/inline-line.ts:67` is a
`for (;;)` that re-emits the line until every unspellable node has been carried, and its
termination rests on a comment: each pass carries at least one more node, or flips