3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-18 22:25:44 +01:00
Commit Graph

138 Commits

Author SHA1 Message Date
lilleman 4454aaca92 Answer architecture round 2: the decision's title states it whole, an image's title drops inside a link, the readers refuse nesting past 500 levels, one owner for the empty-alt rule 2026-10-09 10:49:08 +02:00
lilleman 88aef1c8c4 Answer architecture round 1: one owner for the image's ADF shape, the readings' decision, marker paragraphs, the exceptions the README names; items 87 filed and 56 widened 2026-10-09 10:49:08 +02:00
lilleman 23ec45febd Give each markdown input its own reader: commonMarkToAdf, losslessMarkdownToAdf and portableMarkdownToAdf, each claiming only its flavour 2026-10-09 03:08:39 +02:00
lilleman 380a894589 Answer prose round 1: one name per thing in the new docs, the changelog points at MIGRATION's rows, item 82 drops its partial file list 2026-10-07 12:39:45 +02:00
lilleman a62cd39809 Answer architecture round 2: rename isBareText to isSpellableText, say which link holdsLink counts, the README names the type passed 2026-10-07 12:39:45 +02:00
lilleman 41ac4510f5 Answer architecture round 1: name a non-string by typeof alone, name and comment what the seats could not read, file items 81 and 82 2026-10-07 12:39:45 +02:00
lilleman 1b55e0f528 Answer prose round 3: the comments on highlight pairing, escaped backtick lengths and the memo read once, and the Raw HTML paragraph loses its half clause 2026-10-04 23:36:47 +02:00
lilleman 1ff27164f8 Answer architecture round 2: the spelling memo, headroom and the escaped backtick lengths state their rule at the code, and the highlight counter is named for what it counts 2026-10-04 23:36:47 +02:00
lilleman 640772bc0f Answer prose round 2: the edge-whitespace comment names the real spelling, the Raw HTML paragraph loses its half clause, items 75 and 77 read once 2026-10-04 23:36:47 +02:00
lilleman e4435008ac Answer architecture round 1: the publish job's write token reaches only the tag push, publishing names main, and the audit's other findings are filed 2026-10-04 23:36:47 +02:00
lilleman 88ec96556c Answer architecture round 1: the comments the panel found as bare spec pointers state their rule, and the spec cites no plan item 2026-10-04 23:36:47 +02:00
lilleman e81e0560a5 Answer prose round 1: the refusal list lives in the error row, the slot rule gives its reason, and stale item citations go 2026-10-04 21:09:51 +02:00
lilleman ebdffcf715 Answer stability round 2: the carries comment names the carries it decides 2026-10-04 21:09:51 +02:00
lilleman cfd8e7d823 Answer stability round 1: carries() decides every leaf carry up front, so the line is emitted once 2026-10-04 21:04:57 +02:00
lilleman 0bc086ba43 Answer architecture round 1: a code span opening a line spells as CommonMark, the slot refuses a null character, every generated document emits 2026-10-04 20:43:46 +02:00
lilleman e040d1d3ef Spell every document the emitter refused for a carriage return, a null character, a code-span line start or an empty text node 2026-10-04 20:29:29 +02:00
lilleman ead2e7f4b7 Give the unmarked bare text check and the text-holding-content refusal one owner each 2026-10-03 16:22:19 +02:00
lilleman 72f919ae04 Rename isPlainText to isBareText, apart from the plain flavour, and say truly what it admits 2026-10-03 16:19:09 +02:00
lilleman 410665e2d3 Name the emitter's block walk PlacedBlocks, apart from the parser's Walk 2026-10-03 15:52:43 +02:00
lilleman 84a0750397 Keep 'carry' for the opaque carry: holdsOnlyAttributes, spellEdgeWhitespace, bothCommonMark 2026-10-03 15:52:19 +02:00
lilleman 4e6a4b5ac4 Name the two text-joining rules for whose rule they are, side by side in adjacent-text.ts 2026-10-03 15:51:41 +02:00
lilleman acc8227598 Gather the plain flavour's code in markdown/plain/ 2026-10-03 15:50:24 +02:00
lilleman af98e9cbdc Trim two comments 2026-10-03 15:12:54 +02:00
lilleman 6a54757839 Spell 'a text node holding its text and marks alone' once, as isPlainText 2026-10-03 14:44:00 +02:00
lilleman ae19cdae1b Take the raw run's refusal path only where its code matches the editor-normal refusal 2026-10-03 14:41:42 +02:00
lilleman 8958eab08e Write the same plain markdown for documents the editor holds equal: normalize the reduction's input again, naming a refusal by the caller's document 2026-10-03 14:32:34 +02:00
lilleman 6b18aefedc Index a plain refusal's path in the caller's document: normalize only the reduction's output 2026-10-03 14:22:14 +02:00
lilleman 3aa693d2a1 Keep one merge loop and one mark key: editor-normal compares normalized marks with identicalMark 2026-10-03 14:17:22 +02:00
lilleman f44cbecd9b Record deep equality, the text break, empty keys, -0, the typed carry fence and per-node code fences; file items 52 and 53 2026-10-03 12:28:20 +02:00
lilleman 039aac8873 Make markdownToAdf(adfToMarkdown(doc)) deep-equal doc: textBreak, empty keys, -0, typed carry fences, code blocks of several text nodes 2026-10-03 12:25:01 +02:00
lilleman 7939ba2ff5 cjk - review: tests for Hangul, a long-vowel mark and a Latin word bounding a highlight 2026-09-29 18:49:37 +02:00
lilleman 914b410ea5 cjk - tests for a highlight flush against a script written without spaces 2026-09-29 18:43:04 +02:00
lilleman 31c7978f52 35b - review: the escape test names the renderer 2026-09-29 12:21:51 +02:00
lilleman e6e53e84bd 35b - review: escape a task marker opening any list item's first paragraph 2026-09-29 12:18:21 +02:00
lilleman 2e3631225d 35b - review: tests for escaping every list item's task marker 2026-09-29 12:18:16 +02:00
lilleman 96b5068cc2 35b - review: a task-list child reducing to nothing counts toward neither spelling 2026-09-29 12:13:54 +02:00
lilleman 69cefb830a 35b - review: runs as a non-empty tuple, no item for a stray child reducing to nothing, 42 filed 2026-09-29 12:13:11 +02:00
lilleman 456dd9ab27 35b - review: test that a stray task-list child reducing to nothing writes no item 2026-09-29 12:13:00 +02:00
lilleman aad2ada03e 35b - review: drop every unread highlight in one pass, one task-as-text path, a linear title trim 2026-09-29 12:05:04 +02:00
lilleman f5ec473b83 35b - review: tests for dropping every unread highlight, a phantom task item and a title's trailing blanks 2026-09-29 12:01:56 +02:00
lilleman 89911a501c 35b - the writer spells the plain flavour and escapes text that would read as its markers 2026-09-29 11:42:46 +02:00
lilleman 89993700b6 35b - tests for the writer spelling the plain flavour and escaping its markers 2026-09-29 11:32:45 +02:00
lilleman 1d7797bbdc 35a - the parser reads the plain flavour and the lift goes 2026-09-28 22:02:55 +02:00
lilleman eaa55d923d 36c - review: a Deno premise that holds today, the plain reduction's memo named 2026-09-28 11:14:27 +02:00
lilleman e7a464d4d8 36c - review: premises that expire, no todo-history citations, the memo's key at the code, Goal 10 checkable 2026-09-28 11:08:17 +02:00
lilleman 531751e1f7 36c - §10 and §11's decisions move to docs/decisions.md 2026-09-28 10:55:07 +02:00
lilleman 776750cedd 10c - a list standing in a list or task list keeps its numbers as text past the marker cap 2026-09-26 13:28:13 +02:00
lilleman 38b34ae171 10c - review: link and code span edges named in the README, 10e filed, leafEdges trail simplified 2026-09-26 13:26:20 +02:00
lilleman fdce9667cf 10c - adfToPlainMarkdown and plainMarkdownToAdf exported, whitespace-only leaves trimmed at a line end 2026-09-26 13:20:16 +02:00
lilleman 8121bcfe73 10b - the lift, with alert words, task markers and == shared with the reduction 2026-09-25 20:52:44 +02:00