3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 15:15:44 +01:00

Answer principles round 3: 0 🔴, 1 🟡 (0 misread); item 154 says what the pairing reads off the built nodes, and the fallback test spells its runs

This commit is contained in:
2026-10-28 18:12:48 +01:00
committed by Lillem4n
parent 2f9a1b3540
commit ff44b6e195
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -218,8 +218,8 @@ and hostile. Technical principle: for pure logic over many inputs, prefer a prop
A comprehension seat found `src/markdown/inline-content.ts` `resolveNodes` / `pairedHighlights`
hard: an empty text node stands in for each `==` until pairing, then a cursor walk overwrites it.
The pieces now carry their offsets, so the pairing can run on them first. Make that place easier to
read.
The pairing reads each `==`'s position, stretch and marks off the built nodes; give the pieces what
it reads, so it can run on them first. Make that place easier to read.
### 155. Have `closeBracket` return the link, image or literal bracket it builds, and apply it to the scan in one caller.